/* ==========================================================================
   Echolake — Design System
   Aligned with the Leoo group visual identity: deep navy, blue accents,
   clean white space, data-driven / professional tone.
   No external dependencies (system font stack) — 100% FTP friendly.
   ========================================================================== */

:root {
  /* Brand palette */
  --navy-900: #070b16;
  --navy-800: #0b1220;
  --navy-700: #111a2e;
  --navy-600: #17233d;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-300: #60a5fa;
  --cyan-400: #22d3ee;

  /* Neutrals */
  --ink: #0b1220;
  --body: #1f2937;
  --muted: #5b6472;
  --line: #e5e8ee;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --card: #ffffff;
  --white: #ffffff;

  /* Effects */
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .06), 0 2px 8px rgba(11, 18, 32, .05);
  --shadow-md: 0 10px 30px rgba(11, 18, 32, .10);
  --ring: 0 0 0 3px rgba(37, 99, 235, .35);

  /* Layout */
  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 40px);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

/* -------------------------------------------------------------------------- */
/* Base                                                                       */
/* -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

a { color: var(--blue-500); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy-800); color: #cdd6e6; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue-500); margin-bottom: .75rem;
}
.section--navy .eyebrow { color: var(--blue-300); }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.section--navy .lead { color: #9fb0ca; }

.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* -------------------------------------------------------------------------- */
/* Buttons                                                                     */
/* -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: .18s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--blue-500); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--blue-400); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue-400); color: var(--blue-500); }
.btn--light { background: #fff; color: var(--navy-800); }
.btn--light:hover { background: #eef2fb; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { border-color: #fff; }
.btn--block { width: 100%; justify-content: center; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }

/* -------------------------------------------------------------------------- */
/* Header / Nav                                                                */
/* -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; color: var(--ink); font-size: 1.25rem; letter-spacing: -.03em; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 26px; height: 26px; flex: none; }
.brand span { color: var(--blue-500); }

.nav__links { display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--body); font-weight: 500; padding: .5rem .8rem; border-radius: 8px; }
.nav__links a:hover { color: var(--ink); background: var(--bg-soft); text-decoration: none; }
.nav__links a[aria-current="page"] { color: var(--blue-500); }
.nav__cta { margin-left: .4rem; }

.nav__toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 42px; height: 42px; cursor: pointer; align-items: center; justify-content: center;
}
.nav__toggle svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1rem;
    box-shadow: var(--shadow-md); display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: .8rem .4rem; border-bottom: 1px solid var(--line); }
  .nav__cta { margin: .6rem 0 0; }
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                        */
/* -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #e7edf9;
  background:
    radial-gradient(1100px 500px at 82% -10%, rgba(37,99,235,.45), transparent 60%),
    radial-gradient(700px 400px at 8% 110%, rgba(34,211,238,.18), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
}
.hero__inner { padding: clamp(64px, 11vw, 128px) 0 clamp(56px, 9vw, 104px); max-width: 52rem; }
.hero h1 { color: #fff; }
.hero p { color: #aebdd8; font-size: 1.2rem; max-width: 44ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600;
  color: #bcd0f5; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1.3rem;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-400); }

/* Leoo group strip */
.leoo-strip {
  background: var(--navy-700); color: #c6d2e8; border-top: 1px solid rgba(255,255,255,.06);
}
.leoo-strip .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem 1rem;
  padding-block: 16px; text-align: center; font-size: .98rem;
}
.leoo-strip strong { color: #fff; }
.leoo-strip a { color: var(--blue-300); font-weight: 600; }

/* -------------------------------------------------------------------------- */
/* Grid + Cards                                                                */
/* -------------------------------------------------------------------------- */
.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); transition: .18s ease; height: 100%;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d4dcf0; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin-bottom: 0; }

.icon-badge {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(37,99,235,.14), rgba(34,211,238,.12));
  color: var(--blue-500); margin-bottom: 1rem;
}
.icon-badge svg { width: 24px; height: 24px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 1rem; }
.stat__num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: #fff; letter-spacing: -.03em; }
.stat__label { color: #9fb0ca; font-size: .95rem; }

/* Feature list */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 1.9rem; color: var(--body); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .18em; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(37,99,235,.12) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232563eb" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/12px no-repeat;
}

/* -------------------------------------------------------------------------- */
/* Split / Services detail                                                     */
/* -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: -1; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

.media-card {
  border-radius: var(--radius); padding: 2rem; color: #dbe6ff; min-height: 220px;
  background: radial-gradient(600px 300px at 80% 0, rgba(37,99,235,.5), transparent 60%),
              linear-gradient(160deg, var(--navy-700), var(--navy-800));
  border: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; justify-content: flex-end;
}
.media-card .kicker { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-300); }
.media-card strong { color: #fff; font-size: 1.5rem; display: block; }

.service-block { padding-block: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; }

/* -------------------------------------------------------------------------- */
/* CTA band                                                                    */
/* -------------------------------------------------------------------------- */
.cta-band {
  border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.2rem);
  background: radial-gradient(700px 300px at 90% -20%, rgba(37,99,235,.5), transparent 60%),
              linear-gradient(160deg, var(--navy-700), var(--navy-900));
  color: #dce5f6; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem;
}
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { margin: .4rem 0 0; color: #a9bad6; }

/* -------------------------------------------------------------------------- */
/* Careers                                                                     */
/* -------------------------------------------------------------------------- */
.jobs-toolbar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip {
  border: 1px solid var(--line); background: #fff; color: var(--body); border-radius: 999px;
  padding: .5rem 1rem; font-weight: 600; font-size: .95rem; cursor: pointer; transition: .15s ease;
}
.chip:hover { border-color: var(--blue-400); color: var(--blue-500); }
.chip.is-active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

.team-group { margin-bottom: 2.6rem; }
.team-group__head { display: flex; align-items: baseline; gap: .7rem; margin-bottom: 1rem; }
.team-group__head h2 { margin: 0; font-size: 1.4rem; }
.team-group__count { color: var(--muted); font-weight: 600; font-size: .95rem; }

.job-card {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm); transition: .16s ease; text-decoration: none; color: inherit;
}
.job-card:hover { transform: translateY(-2px); border-color: #cdd7f0; box-shadow: var(--shadow-md); text-decoration: none; }
.job-card__title { font-weight: 700; color: var(--ink); font-size: 1.08rem; margin-bottom: .2rem; }
.job-card__meta { color: var(--muted); font-size: .92rem; display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.job-card__arrow { color: var(--blue-500); flex: none; }
.jobs-list { display: grid; gap: .75rem; }

.tag {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  padding: .2rem .6rem; border-radius: 999px; background: rgba(37,99,235,.1); color: var(--blue-500);
}
.tag--sales { background: rgba(34,197,94,.12); color: #15803d; }
.tag--salesforce { background: rgba(2,132,199,.12); color: #0369a1; }
.tag--marketing { background: rgba(37,99,235,.1); color: var(--blue-500); }
.tag--operations { background: rgba(124,58,237,.12); color: #6d28d9; }

/* Job detail */
.job-detail { max-width: 760px; }
.job-detail__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--muted); margin: .5rem 0 1.5rem; }
.job-detail__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.job-detail h2 { font-size: 1.3rem; margin-top: 2rem; }
.job-detail ul { padding-left: 1.1rem; }
.job-detail li { margin-bottom: .5rem; }
.breadcrumb { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }
.sticky-apply { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 1rem 0; margin-top: 2rem; }

/* -------------------------------------------------------------------------- */
/* Forms                                                                       */
/* -------------------------------------------------------------------------- */
.form-wrap { max-width: 680px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.field .req { color: #dc2626; }
.field input, .field textarea, .field select {
  font: inherit; color: var(--ink); padding: .75rem .9rem; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; transition: .15s ease; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue-400); box-shadow: var(--ring); outline: none; }
.field textarea { min-height: 130px; resize: vertical; }
.field__hint { color: var(--muted); font-size: .85rem; }
.field input[type="file"] { padding: .6rem; background: var(--bg-soft); cursor: pointer; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice {
  border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: 1.5rem; font-size: .95rem;
  border: 1px solid;
}
.notice--info { background: #eff5ff; border-color: #cfe0ff; color: #1e40af; }
.notice--error { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }

/* -------------------------------------------------------------------------- */
/* Confirmation                                                                */
/* -------------------------------------------------------------------------- */
.confirm { text-align: center; max-width: 560px; margin-inline: auto; padding-block: clamp(60px, 12vw, 120px); }
.confirm__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.5rem; background: rgba(37,99,235,.12); color: var(--blue-500); }
.confirm__icon svg { width: 36px; height: 36px; }

/* -------------------------------------------------------------------------- */
/* Footer                                                                      */
/* -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #93a4c2; padding: clamp(48px, 7vw, 72px) 0 2rem; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer a { color: #93a4c2; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-brand .brand { color: #fff; margin-bottom: .8rem; }
.footer-brand p { max-width: 34ch; font-size: .95rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); margin-top: 2.5rem; padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .88rem;
}

/* -------------------------------------------------------------------------- */
/* Clients / Cases                                                             */
/* -------------------------------------------------------------------------- */
.logo-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 640px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }
.logo-badge {
  background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
  padding: 1.8rem 1rem; min-height: 118px; text-align: center; transition: .18s ease;
}
.logo-badge:hover { background: var(--bg-soft); }
.logo-badge__name { font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; color: var(--navy-800); }
.logo-badge__sector { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.logo-badge img { max-height: 46px; width: auto; }

.case-card { display: flex; flex-direction: column; height: 100%; }
.case-card__tag { align-self: flex-start; margin-bottom: .8rem; }
.case-card h3 { font-size: 1.25rem; }
.case-card__meta { color: var(--muted); font-size: .9rem; margin-top: auto; padding-top: 1rem; }

.marquee-note { color: var(--muted); font-size: .9rem; }

/* Utilities */
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none !important; }
.stack > * + * { margin-top: 1rem; }
