:root {
  --ink: #17292a;
  --ink-soft: #4a5a5b;
  --teal-900: #0d2b2d;
  --teal-800: #133a3c;
  --teal-700: #1c4a4c;
  --accent: #f2a65a;
  --accent-dark: #d98a3d;
  --accent-ink: #b8621c;
  --bg: #ffffff;
  --bg-muted: #f3f4f2;
  --line: #e1e4e1;
  --radius: 10px;
  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-tight { padding: 48px 0; }
.section-muted { background: var(--bg-muted); }
.section-dark { background: var(--teal-900); color: #e8efee; }
.muted { color: var(--ink-soft); }

.eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 14px;
}
.eyebrow.small { margin: 20px 0 6px; font-size: .66rem; color: var(--ink-soft); }
.eyebrow-accent { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 6px; font-weight: 700; font-size: .9rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  font-family: inherit; transition: background .15s, color .15s, border-color .15s;
}
.btn-sm { padding: 8px 14px; font-size: .82rem; }
.btn-accent { background: var(--accent); color: var(--teal-900); }
.btn-accent:hover { background: var(--accent-dark); }
.btn-dark { background: var(--teal-800); color: #fff; }
.btn-dark:hover { background: var(--teal-900); }
.btn-outline { border-color: var(--teal-800); color: var(--teal-800); background: transparent; }
.btn-outline:hover { background: var(--teal-800); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--teal-900); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 30px; width: auto; }
.logo-light svg { display: block; }
.logo-light span { color: #9fb3b2; font-size: .78rem; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav > a:not(.btn) { text-decoration: none; font-size: .86rem; font-weight: 600; color: var(--ink-soft); }
.nav > a:not(.btn):hover { color: var(--teal-800); }
.lang-switch { display: flex; align-items: center; gap: 4px; font-size: .8rem; color: var(--ink-soft); }
.lang-switch button {
  background: none; border: 0; padding: 4px; font: inherit; font-weight: 600;
  color: var(--ink-soft); cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { color: var(--teal-800); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--teal-800); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { background: var(--teal-800); color: #fff; padding: 96px 0 104px; }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: center; }
.hero .lead { font-size: 1.08rem; color: #cfdcdb; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stats-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px;
  background: var(--teal-700); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 32px;
}
.stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1.1; }
.stat span { font-size: .8rem; color: #c3d2d1; line-height: 1.45; display: block; margin-top: 6px; }

/* Layout helpers */
.two-col { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.two-col-head { align-items: end; margin-bottom: 40px; }
.two-col-head p { margin: 0; }
.prose p { color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.chip {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .8rem; font-weight: 600;
}
.section-muted .chip { background: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Cards */
.cards-4, .cards-3, .cards-2 { display: grid; gap: 20px; margin-top: 36px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.card p { font-size: .88rem; color: var(--ink-soft); margin: 0; }
.icon, .icon-sm {
  width: 28px; height: 28px; fill: none; stroke: var(--teal-800); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px;
}
.icon-sm { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; }

/* Programs */
.program { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.program h3 { background: var(--teal-800); color: #fff; margin: 0; padding: 14px 20px; font-size: .95rem; }
.program ul { list-style: none; margin: 0; padding: 6px 20px 12px; }
.program li {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .86rem;
}
.program li:last-child { border-bottom: 0; }
.program em {
  font-style: normal; font-size: .7rem; font-weight: 700; white-space: nowrap;
  background: #fdeedd; color: var(--accent-ink); padding: 3px 9px; border-radius: 999px;
}

/* Mercuri Urval */
.side-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.side-panel > :first-child { margin-top: 0; }
.logo-slot {
  border: 1.5px dashed var(--line); border-radius: 8px; padding: 18px; text-align: center;
  font-size: .78rem; color: var(--ink-soft);
}
.logo-slot-dark { border-color: rgba(255,255,255,.2); color: #9fb3b2; margin: 8px 0 28px; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.mini-stats strong { display: block; font-size: 1.8rem; font-weight: 800; line-height: 1.1; }
.mini-stats span { font-size: .8rem; color: var(--ink-soft); }
.client-line { font-weight: 700; font-size: .92rem; }
.note {
  display: flex; gap: 10px; background: var(--bg-muted); border-radius: 8px; padding: 14px;
  font-size: .82rem; color: var(--ink-soft);
}
.note p { margin: 0; }
.note strong { color: var(--ink); }

/* Headspring */
.section-dark p { color: #c3d2d1; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.features > div { border-top: 2px solid var(--accent); padding-top: 14px; }
.features h3 { color: #fff; margin-bottom: 6px; }
.features p { font-size: .86rem; margin: 0; }
.dark-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.dark-stats strong { display: block; font-size: 1.9rem; font-weight: 800; color: var(--accent); line-height: 1.1; }
.dark-stats span { font-size: .8rem; color: #9fb3b2; }

/* Maksimum 3 Dakika */
.section-warm { background: #fbeee2; }
.section-warm .chip { background: #fff; border-color: #f0d9c4; }
.m3d-head { display: flex; align-items: center; gap: 20px; margin-bottom: 4px; }
.m3d-head img { width: 132px; flex-shrink: 0; }
.m3d-head h2 { margin-bottom: .4em; }
@media (max-width: 600px) { .m3d-head { flex-direction: column; align-items: flex-start; gap: 12px; } .m3d-head img { width: 120px; } }
.subtitle { font-weight: 700; color: var(--accent-ink); margin-top: -6px; }
.m3d p:not(.eyebrow):not(.subtitle) { color: var(--ink-soft); }
.photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo figcaption {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(13,43,45,.82); color: #fff; font-size: .72rem; font-weight: 600;
  padding: 5px 10px; border-radius: 4px;
}
.mini-stats-3 { grid-template-columns: repeat(3, 1fr); }
.offer { background: #fff; border: 1px solid #f0d9c4; border-radius: var(--radius); padding: 18px 22px; margin-top: 20px; }
.offer .eyebrow.small { margin-top: 0; }
.offer ul { margin: 0; padding-left: 18px; font-size: .85rem; color: var(--ink-soft); }
.offer li { margin-bottom: 8px; }
.offer li:last-child { margin-bottom: 0; }
.offer strong { color: var(--ink); }

/* Press */
.press { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: center; }
.press img { width: 100%; border-radius: 6px; box-shadow: 0 18px 40px rgba(13,43,45,.18); border: 1px solid var(--line); }
.press h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); }
.press-points { list-style: none; margin: 20px 0 0; padding: 0; }
.press-points li { padding: 12px 0 12px 18px; border-left: 3px solid var(--accent); margin-bottom: 10px; font-size: .9rem; color: var(--ink-soft); background: var(--bg-muted); border-radius: 0 6px 6px 0; padding-right: 14px; }
.press-points strong { color: var(--ink); }
.section-muted .press-points li { background: #fff; }

/* Team */
.person {
  display: grid; grid-template-columns: 180px 1fr; gap: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.person img { width: 180px; height: 220px; object-fit: cover; object-position: center 20%; border-radius: 8px; background: var(--bg-muted); }
.person h3 { font-size: 1.2rem; margin-bottom: 4px; }
.person .role { font-size: .78rem; font-weight: 700; color: var(--accent-ink); margin-bottom: 12px; }
.person p { font-size: .88rem; color: var(--ink-soft); }
.links { display: flex; flex-wrap: wrap; gap: 16px; }
.text-link { font-size: .85rem; font-weight: 700; color: var(--teal-800); text-underline-offset: 3px; }

/* Clients */
.client-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 34px;
  font-weight: 800; font-size: 1.05rem; color: #3c4b4c;
}

/* Contact */
.contact-info { font-style: normal; display: flex; flex-direction: column; gap: 4px; margin-top: 24px; font-weight: 600; }
.contact-info a { color: var(--teal-800); }
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; font-size: .92rem; color: var(--ink);
  padding: 11px 12px; border: 1px solid #cfd5d2; border-radius: 6px; background: #fff; width: 100%;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.contact-form .btn { align-self: flex-start; }
.form-status { margin: 0; font-size: .85rem; color: var(--ink-soft); min-height: 1.2em; }
.form-status.error { color: #b3261e; }

/* Footer */
.site-footer { background: var(--teal-900); color: #9fb3b2; padding: 28px 0; font-size: .8rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.footer-inner .legal { flex-basis: 100%; font-size: .72rem; color: #7f9695; border-top: 1px solid rgba(255,255,255,.08); padding-top: 14px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Responsive */
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
    box-shadow: 0 12px 24px rgba(0,0,0,.06);
  }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
  .nav .btn { margin-top: 16px; }
  .lang-switch { justify-content: center; margin-top: 14px; font-size: .9rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; gap: 36px; }
  .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .press { grid-template-columns: 1fr; gap: 32px; }
  .press img { max-width: 260px; }
  .two-col-head { gap: 12px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 72px; }
  .cards-4, .form-row, .features { grid-template-columns: 1fr; }
  .stats-card { padding: 24px; gap: 22px 16px; }
  .stat strong { font-size: 1.6rem; }
  .person { grid-template-columns: 1fr; }
  .person img { width: 100%; height: 300px; }
  .dark-stats { grid-template-columns: 1fr 1fr 1fr; }
  .dark-stats strong { font-size: 1.4rem; }
  .client-list { gap: 8px 22px; font-size: .95rem; }
}
