/* ============================================================
   LUVIEN OÜ — corporate landing styles
   No external dependencies. System font stack only.
   ============================================================ */

:root {
  --navy-900: #0b2545;
  --navy-800: #13315c;
  --navy-700: #1c3d6b;
  --accent:   #1e88e5;
  --accent-2: #34c3e8;
  --ink:      #16202e;
  --muted:    #5a6b7f;
  --line:     #e2e8f0;
  --bg:       #ffffff;
  --bg-alt:   #f5f8fc;
  --white:    #ffffff;
  --radius:   14px;
  --maxw:     1400px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 37, 69, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-900);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--navy-800), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0;
}
.brand-text { font-size: 18px; }
.brand-form { color: var(--muted); font-weight: 600; }
.brand-mark img { width: 78%; height: 78%; object-fit: contain; display: block; }

.main-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  padding: 6px 0;
}
.nav-list a:hover { color: var(--accent); text-decoration: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 8px;
  background: #fff;
}
.lang-btn {
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 3px 6px;
  border-radius: 999px;
}
.lang-btn.is-active { color: var(--navy-900); }
.lang-sep { color: var(--line); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(52, 195, 232, 0.28), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(720px 380px at 75% 10%, #000, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding: 96px 24px 104px;
  max-width: 820px;
}
.hero-logo {
  display: block;
  height: 118px;
  width: auto;
  margin: 0 0 26px -6px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-2);
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: #cdd9ea;
  max-width: 640px;
  margin: 0 0 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 22px rgba(30, 136, 229, 0.4);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 10px;
}
.section h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 800; color: var(--navy-900); }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 620px; margin: 14px 0 0; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 30px;
}
.about-text p { margin: 0 0 16px; color: #35414f; font-size: 1.05rem; }
.about-text p:last-child { margin-bottom: 0; }
.about-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.about-facts li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
}
.fact-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy-800);
  letter-spacing: -0.02em;
}
.fact-label { display: block; margin-top: 4px; font-size: 0.9rem; color: var(--muted); }

/* ---------- Intro / Capabilities ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  margin-top: 4px;
}
.intro-text .section-eyebrow { margin-top: 0; }
.intro-text .section-lead { margin-top: 16px; }
.team-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  background: #fff;
}
.team-photo img { display: block; width: 100%; height: auto; }
.team-photo--placeholder {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e9f0f8, #f5f8fc);
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  border-style: dashed;
}

/* ---------- Map ---------- */
.map-wrap {
  margin-top: 34px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.map-wrap iframe { display: block; width: 100%; height: 360px; border: 0; }

/* ---------- Leadership ---------- */
.leader-role { color: var(--accent); font-weight: 700; margin: 6px 0 0; font-size: 1.05rem; }
.leader-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 44px;
  align-items: start;
  margin-top: 30px;
}
.leader-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  background: #fff;
}
.leader-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.leader-grid--nophoto { grid-template-columns: 1fr; }
.leader-text p { color: #35414f; font-size: 1.05rem; margin: 0 0 16px; }
.leader-edu { color: var(--muted); font-size: 0.98rem; }
.leader-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #0a66c2;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}
.leader-linkedin:hover { text-decoration: none; filter: brightness(1.06); }
.leader-linkedin svg { width: 18px; height: 18px; }

.founder-letter {
  margin: 46px 0 0;
  padding: 30px 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  max-width: 860px;
}
.founder-letter h3 { color: var(--navy-900); font-size: 1.25rem; margin: 0 0 14px; }
.founder-letter p { color: #35414f; font-size: 1.05rem; margin: 0 0 14px; }
.founder-letter p:last-of-type { margin-bottom: 0; }
.letter-sign { display: flex; flex-direction: column; margin-top: 20px; }
.letter-name { font-weight: 700; color: var(--navy-900); }
.letter-role { color: var(--muted); font-size: 0.95rem; }

/* ---------- Cards (products) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 34px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe0f2; }
.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(30,136,229,0.12), rgba(52,195,232,0.12));
  color: var(--accent);
  margin-bottom: 16px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.06rem; color: var(--navy-900); margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.products-note {
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.98rem;
  font-style: italic;
}

/* ---------- Markets ---------- */
.market-tags {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.market-tags li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
}

/* ---------- Company details ---------- */
.details-list {
  margin: 30px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.detail-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
}
.detail-row:last-child { border-bottom: 0; }
.detail-row dt { color: var(--muted); font-weight: 600; font-size: 0.95rem; margin: 0; }
.detail-row dd { margin: 0; color: var(--ink); font-weight: 500; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 34px;
}
.contact-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
a.contact-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe0f2; }
.contact-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--navy-800), var(--accent));
  color: #fff;
  margin-bottom: 16px;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; }
.contact-value { display: block; margin-top: 6px; font-weight: 600; color: var(--navy-900); }
.contact-card--static { cursor: default; }

/* ---------- Messengers ---------- */
.contact-msg-lead { margin-top: 40px; }
.messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}
.msg-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px 12px 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.msg-btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); filter: brightness(1.05); }
.msg-btn svg { width: 22px; height: 22px; }
.msg-telegram { background: #229ed9; }
.msg-whatsapp { background: #25d366; }
.msg-viber    { background: #7360f2; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #b9c6da;
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; letter-spacing: 0.06em; }
.footer-legal { margin: 0; font-size: 0.9rem; color: #9fb0c6; }
.footer-links { flex-basis: 100%; margin: 12px 0 0; font-size: 0.85rem; }
.footer-links a { color: #b9c6da; }
.footer-links a:hover { color: #fff; }

/* ---------- Contact slogan ---------- */
.contact-slogan { font-size: 1.15rem; font-weight: 700; color: var(--navy-800); margin: 6px 0 0; }

/* ---------- Cookie consent ---------- */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); }
.cookie-inner { display: flex; align-items: center; gap: 20px; padding: 16px 22px; flex-wrap: wrap; max-width: var(--maxw); margin: 0 auto; }
.cookie-text { margin: 0; color: #35414f; font-size: 0.9rem; flex: 1 1 300px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn { font: inherit; font-weight: 600; font-size: 14px; padding: 10px 22px; border-radius: 999px; cursor: pointer; border: 1px solid var(--line); transition: filter 0.2s ease, background 0.2s ease; }
.cookie-accept { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border: 0; }
.cookie-accept:hover { filter: brightness(1.05); }
.cookie-decline { background: #fff; color: var(--navy-900); }
.cookie-decline:hover { background: var(--bg-alt); }
@media (max-width: 560px) { .cookie-actions { width: 100%; } .cookie-btn { flex: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .intro-grid { grid-template-columns: 1fr; gap: 30px; }
  .leader-grid { grid-template-columns: 1fr; gap: 26px; }
  .leader-photo { max-width: 320px; }
  .map-wrap iframe { height: 300px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .detail-row { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 680px) {
  .nav-toggle { display: flex; order: 3; }
  .main-nav { position: static; }
  .nav-list {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-list.is-open { max-height: 340px; }
  .nav-list li { width: 100%; }
  .nav-list a { display: block; padding: 15px 24px; width: 100%; border-top: 1px solid var(--bg-alt); }
  .cards { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr 1fr; }
  .hero-inner { padding: 72px 24px 80px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* ============================================================
   MULTI-DIRECTION EXPANSION (Directions / pages / form)
   Uses existing palette & tokens — no new colours introduced.
   ============================================================ */

/* ---------- Header: Directions dropdown ---------- */
.nav-list .nav-link {
  background: none; border: 0; font: inherit; cursor: pointer;
  color: var(--ink); font-size: 15px; font-weight: 500; padding: 6px 0;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-list .nav-link:hover { color: var(--accent); }
.has-dropdown { position: relative; }
.dropdown-toggle::after {
  content: ""; width: 6px; height: 6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin-left: 3px; margin-top: -3px; opacity: 0.65;
}
.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md); padding: 8px; margin: 12px 0 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s; z-index: 60;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.dropdown-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { width: auto; }
.dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: var(--ink); font-size: 14.5px; font-weight: 500; white-space: nowrap;
}
.dropdown-menu a:hover { background: var(--bg-alt); color: var(--accent); text-decoration: none; }

/* ---------- Page hero (direction pages) ---------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 85% -20%, rgba(52,195,232,0.22), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: #fff; padding: 66px 0 58px;
}
.page-hero .eyebrow { color: var(--accent-2); margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); font-weight: 800; margin: 0 0 18px; }
.page-hero .page-lead { color: #cdd9ea; font-size: 1.1rem; max-width: 760px; margin: 0; }

/* ---------- Directions cards (home) ---------- */
.directions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 34px; }
.dir-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
a.dir-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe0f2; }
.dir-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.dir-num {
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em; color: var(--accent);
  border: 1.5px solid #cfe0f2; border-radius: 8px; padding: 4px 8px;
}
.dir-icon {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px;
  background: linear-gradient(135deg, rgba(30,136,229,0.12), rgba(52,195,232,0.12)); color: var(--accent);
}
.dir-icon svg { width: 24px; height: 24px; }
.dir-card h3 { font-size: 1.12rem; color: var(--navy-900); margin-bottom: 10px; }
.dir-card > p { color: var(--muted); font-size: 0.97rem; margin: 0 0 16px; }
.dir-list { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.dir-list li { position: relative; padding-left: 18px; color: var(--ink); font-size: 0.93rem; }
.dir-list li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }
.dir-cta { margin-top: auto; font-weight: 700; color: var(--accent); font-size: 0.95rem; }
a.dir-card:hover .dir-cta { text-decoration: underline; }

/* ---------- How we work ---------- */
.how-steps { list-style: none; counter-reset: how; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.how-steps li {
  counter-increment: how; position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 24px 24px 70px; box-shadow: var(--shadow-sm);
}
.how-steps li::before { content: counter(how, decimal-leading-zero); position: absolute; left: 24px; top: 22px; font-weight: 800; color: var(--accent); font-size: 1.15rem; }
.how-steps h3 { font-size: 1.02rem; color: var(--navy-900); margin: 0 0 6px; }
.how-steps p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Callout / highlighted blocks ---------- */
.callout { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #e8eefb; border-radius: var(--radius); padding: 30px 34px; margin: 34px 0 0; box-shadow: var(--shadow-md); }
.callout h2, .callout h3 { color: #fff; margin: 0 0 12px; }
.callout p { margin: 0 0 12px; color: #cdd9ea; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout ul { margin: 10px 0 0; padding-left: 20px; }
.callout li { margin-bottom: 7px; color: #cdd9ea; }
.callout--warn { background: #fff; color: var(--ink); border: 1px solid var(--line); border-left: 4px solid #e0a800; }
.callout--warn h3 { color: var(--navy-900); }
.callout--warn p, .callout--warn li { color: #35414f; }

/* ---------- Spec / check / sub-headings ---------- */
.sub-h { margin-top: 38px; font-size: 1.2rem; color: var(--navy-900); }
.sub-lead { color: var(--muted); margin-top: 8px; }
.spec-list { margin: 24px 0 0; display: grid; gap: 14px; }
.spec-list .spec { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.spec-list .spec h3 { font-size: 1rem; color: var(--navy-900); margin: 0 0 4px; }
.spec-list .spec p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.check-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 11px; }
.check-list li { position: relative; padding-left: 28px; color: #35414f; font-size: 0.97rem; }
.check-list li::before { content: ""; position: absolute; left: 3px; top: 3px; width: 13px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* ---------- Markets: supply vs client ---------- */
.market-group { margin-top: 26px; }
.market-group-label { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: var(--muted); margin: 0 0 12px; }

/* ---------- Competency tags ---------- */
.tag-row { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; }
.tag-row li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 0.85rem; font-weight: 600; color: var(--navy-800); }

/* ---------- Compact Leadership (subpages) ---------- */
.leader-compact { display: flex; align-items: flex-start; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); margin-top: 26px; }
.leader-compact img { width: 96px; height: 96px; border-radius: 12px; object-fit: cover; object-position: center 20%; flex-shrink: 0; }
.lc-name { font-weight: 700; color: var(--navy-900); font-size: 1.05rem; }
.lc-role { color: var(--accent); font-weight: 600; font-size: 0.9rem; margin-top: 2px; }
.lc-tags { color: #35414f; font-size: 0.9rem; margin-top: 8px; }
.lc-linkedin { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: #0a66c2; font-weight: 600; font-size: 0.9rem; }
.lc-linkedin svg { width: 16px; height: 16px; }

/* ---------- Lead form ---------- */
.lead-form { margin-top: 30px; max-width: 860px; }
.lead-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form .form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.lead-form label { font-size: 0.85rem; font-weight: 600; color: var(--navy-900); }
.lead-form input, .lead-form select, .lead-form textarea {
  font: inherit; font-size: 15px; padding: 11px 13px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30,136,229,0.12);
}
.lead-form textarea { resize: vertical; }
.form-hint { background: #fff7e0; border: 1px solid #f0d98a; border-radius: 10px; padding: 12px 14px; color: #6b5300; font-size: 0.9rem; margin: 0 0 16px; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 18px; }
.form-consent input { width: auto; margin-top: 3px; flex-shrink: 0; }
.form-consent label { font-weight: 500; color: #35414f; font-size: 0.92rem; }
.form-note { color: var(--muted); font-size: 0.85rem; margin-top: 14px; }
.form-thanks { background: #eaf7ee; border: 1px solid #b6e2c4; border-radius: 12px; padding: 18px 20px; color: #1c6b39; font-weight: 600; margin-top: 20px; }

/* ---------- Page-specific footer disclaimer ---------- */
.page-disclaimer { width: 100%; font-size: 0.78rem; color: #8aa0bb; margin: 6px 0 0; }

/* ---------- Responsive additions ---------- */
@media (max-width: 860px) {
  .directions { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .lead-form .form-grid { grid-template-columns: 1fr; }
  .ph-grid { grid-template-columns: 1fr 1fr; }
  .leader-compact { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
  .nav-list.is-open { max-height: 720px; }
  .nav-list .nav-link { display: block; padding: 15px 24px; width: 100%; border-top: 1px solid var(--bg-alt); }
  .has-dropdown { position: static; }
  .dropdown-toggle::after { display: none; }
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; padding: 0; margin: 0; min-width: 0; background: var(--bg-alt);
  }
  .dropdown-menu a { padding: 12px 24px 12px 40px; border-top: 1px solid #fff; }
  .ph-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- IT page components ---------- */
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.btn-ghost { background: transparent; color: var(--navy-900); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy-900); background: #fff; }
.page-hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.page-hero .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.10); }
.hero-facts { margin-top: 20px; font-size: 0.85rem; color: var(--muted); }
.page-hero .hero-facts { color: rgba(255,255,255,0.72); }

.svc-meta { margin: 10px 0 0; color: #35414f; font-size: 0.92rem; line-height: 1.55; }
.svc-meta-l { font-weight: 600; color: var(--navy-900); }

.case-list { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm); }
.case-title { font-size: 1.05rem; color: var(--navy-900); margin: 0 0 14px; line-height: 1.4; }
.case-num { display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--muted); margin-right: 6px; letter-spacing: 0.04em; }
.case-dl { margin: 0; }
.case-row { display: grid; grid-template-columns: 92px 1fr; gap: 10px 16px; padding: 9px 0; border-top: 1px solid var(--bg-alt); }
.case-row:first-child { border-top: 0; }
.case-row dt { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); padding-top: 2px; }
.case-row dd { margin: 0; color: #35414f; font-size: 0.93rem; line-height: 1.5; }
.case-row--meta dd { color: var(--navy-900); font-weight: 600; }

.table-wrap { margin-top: 26px; overflow-x: auto; }
.fmt-table { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fmt-table th, .fmt-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--bg-alt); font-size: 0.93rem; vertical-align: top; }
.fmt-table thead th { background: var(--navy-900); color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.fmt-table tbody tr:last-child td { border-bottom: 0; }
.fmt-table td:first-child { font-weight: 600; color: var(--navy-900); white-space: nowrap; }

.faq { margin-top: 24px; max-width: 820px; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--navy-900); list-style: none; position: relative; padding-right: 28px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--muted); line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0 0 16px; color: #35414f; font-size: 0.95rem; line-height: 1.6; }

.tag-list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; font-size: 0.85rem; font-weight: 600; color: var(--navy-900); box-shadow: var(--shadow-sm); }

@media (max-width: 880px) {
  .case-list { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .case-row { grid-template-columns: 1fr; gap: 3px; }
  .case-row dt { padding-top: 0; }
}
