/* ============================================================
   INTEGRA NEXUS — design tokens & components
   Layout utilities come from Tailwind (CDN). This file owns
   the brand tokens, base styles and hand-built components.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  /* Brand hues (stable across themes) */
  --brand-navy: #0C4A6E;
  --brand-blue: #1477C7;
  --brand-blue-deep: #0E5FA6;
  --brand-green: #3FA535;
  --brand-green-deep: #2F8F2C;
  --brand-lime: #8BC53F;

  /* Semantic — light theme */
  --bg: #F5F8FB;
  --bg-alt: #ECF3F8;
  --surface: #FFFFFF;
  --surface-2: #F7FAFC;
  --ink: #0E2331;          /* headings */
  --body: #3C5567;         /* body copy */
  --muted: #6A8496;        /* secondary */
  --border: #E1EAF0;
  --border-strong: #CBD9E3;

  --primary: var(--brand-blue);
  --primary-hover: var(--brand-blue-deep);
  --accent: var(--brand-green);
  --accent-hover: var(--brand-green-deep);
  --on-primary: #FFFFFF;
  --on-accent: #FFFFFF;

  --ring: #1477C7;
  --danger: #DC2626;

  --shadow-sm: 0 1px 2px rgba(14, 35, 49, .06), 0 1px 3px rgba(14, 35, 49, .05);
  --shadow-md: 0 8px 24px -8px rgba(14, 35, 49, .16), 0 2px 6px rgba(14, 35, 49, .06);
  --shadow-lg: 0 24px 60px -18px rgba(12, 74, 110, .28);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --container: 1200px;
  --header-h: 76px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

html.dark {
  --bg: #081720;
  --bg-alt: #0B1F2B;
  --surface: #0E2632;
  --surface-2: #123140;
  --ink: #EAF3F8;
  --body: #B7CCD8;
  --muted: #86A2B0;
  --border: #1C3A48;
  --border-strong: #2A4E5E;

  --primary: #2E93E0;
  --primary-hover: #55A9E8;
  --accent: #57BE4B;
  --accent-hover: #74CE68;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 10px 28px -10px rgba(0, 0, 0, .55);
  --shadow-lg: 0 28px 64px -20px rgba(0, 0, 0, .6);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: 'Lexend', 'Source Sans 3', system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 1.4rem + 3vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); }

p { margin: 0 0 1rem; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
img { max-width: 100%; display: block; }
strong { color: var(--ink); font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--brand-lime); color: #12331a; }

.container-x { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 2.5rem); }

.section { padding-block: clamp(3.5rem, 2rem + 7vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Lexend', sans-serif;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: var(--accent); border-radius: 2px; }

.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: var(--muted); }

.skip-link {
  position: absolute; left: 1rem; top: -3.5rem; z-index: 200;
  background: var(--surface); color: var(--ink);
  padding: .6rem 1rem; border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--primary);
  --btn-fg: var(--on-primary);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: 'Lexend', sans-serif; font-weight: 600; font-size: .98rem;
  padding: .8rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
  will-change: transform;
}
.btn:hover { background: var(--primary-hover); color: var(--on-primary); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--on-accent); }
.btn--accent:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--primary); box-shadow: var(--shadow-sm); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: 'Lexend', sans-serif; font-weight: 600; color: var(--primary);
}
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card__body { padding: clamp(1.35rem, 1rem + 1.4vw, 2rem); }

.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: 'Lexend', sans-serif; font-size: .74rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  padding: .32rem .7rem; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--brand-lime) 22%, transparent);
  color: var(--brand-green-deep);
  border: 1px solid color-mix(in srgb, var(--brand-green) 30%, transparent);
}
html.dark .badge { color: var(--brand-lime); }
.badge--blue {
  background: color-mix(in srgb, var(--brand-blue) 14%, transparent);
  color: var(--brand-blue-deep);
  border-color: color-mix(in srgb, var(--brand-blue) 30%, transparent);
}
html.dark .badge--blue { color: #7Fc2f0; }

/* stat */
.stat__num { font-family: 'Lexend', sans-serif; font-weight: 700; font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { color: var(--muted); font-size: .95rem; margin-top: .4rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.site-header[data-scrolled="true"] { box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.brand svg { width: 40px; height: 40px; }
.brand__mark { height: 40px; width: auto; display: block; }
.brand__name { font-family: 'Lexend', sans-serif; font-weight: 700; font-size: 1.16rem; letter-spacing: -.01em; color: var(--ink); line-height: 1; }
.brand__name span { display: block; font-size: .66rem; font-weight: 600; letter-spacing: .34em; color: var(--accent); margin-top: 2px; }

.primary-nav { display: none; }
@media (min-width: 1024px) { .primary-nav { display: flex; align-items: center; gap: .3rem; margin-inline: auto; } }

.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: 'Lexend', sans-serif; font-weight: 500; font-size: .96rem;
  color: var(--body); padding: .6rem .85rem; border-radius: var(--radius-sm);
  background: none; border: 0; cursor: pointer;
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--ink); background: var(--surface-2); }
.nav-link[aria-current="page"] { color: var(--primary); font-weight: 600; }
.nav-link svg { width: 1rem; height: 1rem; transition: transform .2s var(--ease); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + .6rem); left: 50%; transform: translateX(-50%) translateY(-6px);
  width: min(720px, 80vw);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 1.25rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: .4rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav-item[data-open="true"] .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega__link { display: flex; gap: .85rem; padding: .8rem; border-radius: var(--radius); transition: background-color .15s var(--ease); }
.mega__link:hover { background: var(--surface-2); }
.mega__ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand-blue) 12%, transparent); color: var(--primary); }
.mega__t { font-family: 'Lexend', sans-serif; font-weight: 600; color: var(--ink); font-size: .95rem; display: block; }
.mega__d { font-size: .85rem; color: var(--muted); line-height: 1.45; }

.header-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
@media (min-width: 1024px) { .header-actions { margin-left: 0; } }

.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border-radius: var(--radius-pill); border: 1.5px solid var(--border-strong);
  background: var(--surface); color: var(--ink); cursor: pointer;
  transition: border-color .15s var(--ease), background-color .15s var(--ease), color .15s var(--ease);
}
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn svg { width: 1.15rem; height: 1.15rem; }

/* language menu */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: .35rem; font-family: 'Lexend', sans-serif; font-weight: 600; font-size: .85rem; color: var(--ink); background: var(--surface); border: 1.5px solid var(--border-strong); border-radius: var(--radius-pill); padding: .5rem .75rem; cursor: pointer; text-transform: uppercase; }
.lang__btn:hover { border-color: var(--primary); }
.lang__menu { position: absolute; right: 0; top: calc(100% + .4rem); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: .35rem; min-width: 172px; display: none; z-index: 120; }
.lang[data-open="true"] .lang__menu { display: block; }
.lang__opt { display: flex; align-items: center; justify-content: space-between; gap: .5rem; width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font: inherit; font-size: .92rem; color: var(--body); padding: .55rem .7rem; border-radius: 10px; }
.lang__opt:hover { background: var(--surface-2); color: var(--ink); }
.lang__opt[aria-current="true"] { color: var(--primary); font-weight: 600; }

.nav-toggle { display: inline-grid; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }

/* mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(6, 20, 28, .5); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s; z-index: 150; }
.drawer-backdrop[data-open="true"] { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100dvh; width: min(360px, 88vw);
  background: var(--surface); border-left: 1px solid var(--border);
  transform: translateX(100%); transition: transform .28s var(--ease);
  z-index: 160; display: flex; flex-direction: column; padding: 1.15rem;
  overflow-y: auto;
}
.drawer[data-open="true"] { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.drawer__group + .drawer__group { border-top: 1px solid var(--border); margin-top: .5rem; padding-top: .5rem; }
.drawer__link { display: block; padding: .8rem .6rem; font-family: 'Lexend', sans-serif; font-weight: 500; color: var(--ink); border-radius: 10px; }
.drawer__link:hover { background: var(--surface-2); }
.drawer__sub { padding-left: 1.1rem; }
.drawer__sub a { display: block; padding: .55rem .6rem; font-size: .95rem; color: var(--body); }
.drawer__sub a:hover { color: var(--primary); }

/* ---------- footer ---------- */
.site-footer { background: var(--brand-navy); color: #C5DBE7; margin-top: 4rem; }
html.dark .site-footer { background: #061219; border-top: 1px solid var(--border); }
.site-footer a { color: #C5DBE7; }
.site-footer a:hover { color: #FFFFFF; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding-block: clamp(3rem, 2rem + 4vw, 4.5rem); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand svg { width: 44px; height: 44px; }
.footer-h { font-family: 'Lexend', sans-serif; font-weight: 600; color: #FFFFFF; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: .96rem; }
.footer-list svg { width: 1.15rem; height: 1.15rem; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .88rem; color: #9FB9C9; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.18); }
.footer-social a:hover { background: rgba(255,255,255,.1); }
.footer-social svg { width: 1.05rem; height: 1.05rem; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: clip; background: var(--bg); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 94%, transparent) 34%, color-mix(in srgb, var(--bg) 72%, transparent) 56%, color-mix(in srgb, var(--bg) 22%, transparent) 88%); }
html.dark .hero__bg::after { background: linear-gradient(100deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 92%, transparent) 38%, color-mix(in srgb, var(--bg) 60%, transparent) 66%, color-mix(in srgb, var(--bg) 25%, transparent) 92%); }
.hero__inner { position: relative; z-index: 1; padding-block: clamp(3.5rem, 2rem + 9vw, 8rem); max-width: 620px; }

/* ---------- misc layout helpers ---------- */
.grid-auto { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.split { display: grid; gap: clamp(2rem, 1rem + 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.15fr .85fr; } }

.pill-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.pill { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--border); font-size: .9rem; font-weight: 500; color: var(--body); box-shadow: var(--shadow-sm); }
.pill svg { width: 1rem; height: 1rem; color: var(--accent); }

.media-frame { border-radius: var(--radius-lg); overflow: clip; border: 1px solid var(--border); box-shadow: var(--shadow-md); background: var(--surface-2); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.prose-block > * { max-width: 68ch; }
.prose-block h2 { margin-top: 2.25rem; }
.prose-block ul { padding-left: 1.15rem; margin: 0 0 1.25rem; }
.prose-block li { margin-bottom: .5rem; }

.divider-band { background: var(--bg-alt); border-block: 1px solid var(--border); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .88rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb svg { width: .8rem; height: .8rem; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .06s; }
.reveal[data-delay="2"] { transition-delay: .12s; }
.reveal[data-delay="3"] { transition-delay: .18s; }
.reveal[data-delay="4"] { transition-delay: .24s; }
.reveal[data-delay="5"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .card, .link-arrow svg, .nav-link svg { transition: none !important; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- lightweight utilities (no Tailwind dependency) ---------- */
.u-grid { display: grid; }
.u-flex { display: flex; }
.u-iflex { display: inline-flex; }
.u-wrap { flex-wrap: wrap; }
.u-col { flex-direction: column; }
.u-items-center { align-items: center; }
.u-items-start { align-items: flex-start; }
.u-justify-between { justify-content: space-between; }
.u-justify-center { justify-content: center; }
.u-gap-1 { gap: .5rem; }
.u-gap-2 { gap: 1rem; }
.u-gap-3 { gap: 1.5rem; }
.u-gap-4 { gap: 2rem; }
.u-gap-6 { gap: 3rem; }
.u-mt-1 { margin-top: .5rem; } .u-mt-2 { margin-top: 1rem; } .u-mt-3 { margin-top: 1.5rem; } .u-mt-4 { margin-top: 2rem; } .u-mt-6 { margin-top: 3rem; }
.u-mb-1 { margin-bottom: .5rem; } .u-mb-2 { margin-bottom: 1rem; } .u-mb-3 { margin-bottom: 1.5rem; } .u-mb-4 { margin-bottom: 2rem; }
.u-mx-auto { margin-inline: auto; }
.u-center { text-align: center; }
.u-maxw-prose { max-width: 62ch; }
.u-maxw-2 { max-width: 720px; }
.u-maxw-3 { max-width: 880px; }
.u-full { width: 100%; }
.cols-2, .cols-3, .cols-4 { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .cols-2 { grid-template-columns: repeat(2, 1fr); } .cols-3 { grid-template-columns: repeat(2, 1fr); } .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cols-3 { grid-template-columns: repeat(3, 1fr); } .cols-4 { grid-template-columns: repeat(4, 1fr); } }

.u-hide-sm { display: none !important; }
@media (min-width: 768px) { .u-hide-sm { display: inline-flex !important; } }

/* ---------- page hero (interior pages) ---------- */
.page-hero { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.page-hero__inner { padding-block: clamp(2.5rem, 1.5rem + 5vw, 5rem); max-width: 760px; }
.page-hero .breadcrumb { margin-bottom: 1rem; }

/* ---------- icon feature block ---------- */
.feature { }
.feature__ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand-blue) 12%, transparent); color: var(--primary);
  margin-bottom: 1rem;
}
.feature__ic svg { width: 1.6rem; height: 1.6rem; }
.feature__ic--green { background: color-mix(in srgb, var(--brand-green) 15%, transparent); color: var(--accent-hover); }
html.dark .feature__ic--green { color: var(--brand-lime); }
.feature h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.feature p { font-size: .97rem; margin: 0; color: var(--muted); }

/* ---------- team ---------- */
.team-card { text-align: center; }
.avatar {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 1rem;
  display: grid; place-items: center;
  font-family: 'Lexend', sans-serif; font-weight: 600; font-size: 1.5rem; color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-green));
  letter-spacing: .02em;
}
.team-card h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.team-card p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- project row (index) ---------- */
.project-row { display: grid; gap: 1.75rem; align-items: center; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
@media (min-width: 860px) { .project-row { grid-template-columns: 88px 1fr auto; } }
.project-row__mark { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--primary); }
.project-row__mark svg { width: 1.9rem; height: 1.9rem; }
.project-row__points { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }

/* ---------- contact ---------- */
.contact-line { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.contact-line:last-child { border-bottom: 0; }
.contact-line__ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand-blue) 12%, transparent); color: var(--primary); }
.contact-line__ic svg { width: 1.15rem; height: 1.15rem; }
.contact-line__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-family: 'Lexend', sans-serif; font-weight: 600; }
.contact-line__value { color: var(--ink); font-size: 1.05rem; }
.is-placeholder { color: var(--muted); font-style: italic; }

/* ---------- timeline ---------- */
.timeline { position: relative; display: grid; gap: 1.5rem; }
.timeline__item { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.timeline__dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-family: 'Lexend', sans-serif; font-weight: 700; font-size: .95rem; }
.timeline__item h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.timeline__item p { margin: 0; font-size: .96rem; color: var(--muted); }

/* ---------- forms ---------- */
.inx-form { display: grid; gap: 1rem; margin-top: 1.25rem; }
.fld { display: grid; gap: .35rem; }
.fld label { font-family: 'Lexend', sans-serif; font-weight: 600; font-size: .88rem; color: var(--ink); }
.fld input, .fld select, .fld textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: .7rem .85rem; width: 100%;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.fld textarea { resize: vertical; min-height: 120px; }
.fld input:focus, .fld select:focus, .fld textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent);
}
.fld input:user-invalid, .fld textarea:user-invalid { border-color: var(--danger); }
.chk { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.chk input { margin-top: .2rem; width: 1.05rem; height: 1.05rem; flex-shrink: 0; accent-color: var(--primary); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 0; font-size: .92rem; min-height: 1.2em; }
.form-status.is-ok { color: var(--accent-hover); font-weight: 600; }
.form-status.is-err, .form-status.is-warn { color: var(--danger); }
.form-status a { color: inherit; text-decoration: underline; }
.inx-form--inline { grid-auto-flow: row; }
@media (min-width: 560px) {
  .inx-form--inline { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .75rem; }
  .inx-form--inline .fld { flex: 1 1 220px; }
  .inx-form--inline .btn { align-self: stretch; }
}

/* ---------- FAQ ---------- */
.faq { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; position: relative;
  font-family: 'Lexend', sans-serif; font-weight: 600; color: var(--ink); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--primary); font-weight: 400; transition: transform .2s var(--ease);
}
.faq[open] summary::after { content: "\2212"; }
.faq p { margin: 0 0 1.2rem; color: var(--muted); max-width: 62ch; }

/* utilities */
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.text-gradient { background: linear-gradient(96deg, var(--brand-blue), var(--brand-green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bg-dots { background-image: radial-gradient(var(--border-strong) 1px, transparent 1px); background-size: 22px 22px; }
