@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400&family=Figtree:wght@400;500;600;700&display=swap');

:root {
  --ml-terra: #c45c26;
  --ml-terra-dark: #9a4519;
  --ml-ink: #1c1917;
  --ml-mute: #57534e;
  --ml-line: #e7e5e4;
  --ml-soft: #fafaf9;
  --ml-white: #fff;
  --ml-display: 'Figtree', system-ui, sans-serif;
  --ml-body: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.ml-page {
  font-family: var(--ml-body);
  color: var(--ml-ink);
  background: var(--ml-white);
  line-height: 1.6;
  padding-top: 0;
}
body.ml-page.has-cookie-bar { padding-top: 44px; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.ml-shell { width: min(1140px, 92%); margin-inline: auto; }

/* Cookie top bar */
.ml-ck {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  background: var(--ml-ink);
  color: var(--ml-white);
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}
.ml-ck.is-on { transform: translateY(0); }
.ml-ck__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: 0.45rem 0;
  font-size: 0.82rem;
}
.ml-ck__in a { text-decoration: underline; color: #fdba74; }
.ml-ck__acts { display: flex; gap: 0.5rem; flex-shrink: 0; }
.ml-ck__acts button {
  border: none;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.ml-ck__ok { background: var(--ml-terra); color: #fff; }
.ml-ck__no { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.35) !important; }

/* Header */
.ml-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--ml-line);
}
body.has-cookie-bar .ml-bar { top: 44px; }
.ml-bar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1.5rem;
}
.ml-logo {
  font-family: var(--ml-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.ml-logo b { color: var(--ml-terra); font-weight: 700; }
.ml-menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
}
.ml-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ml-mute);
  transition: color 0.2s;
}
.ml-menu a:hover, .ml-menu a.ml-active { color: var(--ml-terra); }
.ml-tog {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--ml-line);
  background: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.ml-tog i { display: block; width: 18px; height: 2px; background: var(--ml-ink); }

/* Buttons */
.ml-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}
.ml-btn:hover { transform: translateY(-1px); }
.ml-btn--solid { background: var(--ml-terra); color: #fff; border: 1px solid var(--ml-terra); }
.ml-btn--solid:hover { background: var(--ml-terra-dark); border-color: var(--ml-terra-dark); }
.ml-btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.7); }
.ml-btn--ghost:hover { background: rgba(255,255,255,0.12); }
.ml-btn--ghost-dark { background: transparent; color: var(--ml-ink); border: 1.5px solid var(--ml-ink); }
.ml-btn--ghost-dark:hover { background: var(--ml-ink); color: #fff; }

/* Hero 50/50 */
.ml-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 78vh;
}
.ml-hero__copy {
  background: var(--ml-terra);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem);
  animation: ml-slide-l 0.8s ease both;
}
.ml-hero__visual {
  background: #78716c url('../img/hero.jpg') center/cover no-repeat;
  min-height: 320px;
  animation: ml-fade 1.1s ease both;
}
@keyframes ml-slide-l {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: none; }
}
@keyframes ml-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.ml-hero__tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 1rem;
}
.ml-hero h1 {
  font-family: var(--ml-display);
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.1rem;
}
.ml-hero p { font-size: 1.05rem; opacity: 0.92; max-width: 420px; margin-bottom: 1.75rem; }
.ml-hero__btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Sections */
.ml-sec { padding: 5rem 0; }
.ml-sec--soft { background: var(--ml-soft); }
.ml-sec--ink { background: var(--ml-ink); color: #fff; }
.ml-label {
  color: var(--ml-terra);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.ml-sec--ink .ml-label { color: #fdba74; }
.ml-h2 {
  font-family: var(--ml-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}
.ml-sub { color: var(--ml-mute); max-width: 540px; }
.ml-sec--ink .ml-sub { color: rgba(255,255,255,0.7); }

.ml-cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.ml-cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2rem;
}

.ml-card {
  border: 1px solid var(--ml-line);
  padding: 1.6rem;
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.ml-card:hover {
  border-color: var(--ml-terra);
  box-shadow: 0 10px 28px rgba(196, 92, 38, 0.08);
}
.ml-card h3 {
  font-family: var(--ml-display);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.ml-card p { color: var(--ml-mute); font-size: 0.95rem; }
.ml-card__ico {
  width: 40px; height: 40px;
  background: #fff7ed;
  color: var(--ml-terra);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.ml-pic {
  min-height: 300px;
  background: linear-gradient(135deg, #d6d3d1, #a8a29e) center/cover;
  overflow: hidden;
}
.ml-pic img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }

.ml-band {
  background: var(--ml-terra);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}
.ml-band .ml-h2 { margin-bottom: 1rem; }
.ml-band p { opacity: 0.9; max-width: 480px; margin: 0 auto 1.5rem; }

.ml-case {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--ml-line);
}
.ml-case__year {
  font-family: var(--ml-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ml-terra);
}
.ml-case h3 { font-family: var(--ml-display); margin-bottom: 0.35rem; }
.ml-case p { color: var(--ml-mute); font-size: 0.95rem; }

.ml-form { display: grid; gap: 1rem; max-width: 500px; }
.ml-form label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.35rem; }
.ml-form input, .ml-form textarea, .ml-form select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--ml-line);
  border-radius: 4px;
  font: inherit;
  background: #fff;
}
.ml-form input:focus, .ml-form textarea:focus {
  outline: 2px solid rgba(196, 92, 38, 0.35);
  border-color: var(--ml-terra);
}
.ml-form textarea { min-height: 130px; resize: vertical; }

.ml-aside {
  background: var(--ml-soft);
  border-left: 4px solid var(--ml-terra);
  padding: 2rem;
}
.ml-aside h3 { font-family: var(--ml-display); margin-bottom: 1rem; }
.ml-aside p { margin-bottom: 0.6rem; color: var(--ml-mute); }
.ml-aside a { color: var(--ml-terra); font-weight: 600; }

.ml-pagehero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--ml-line);
}
.ml-pagehero h1 {
  font-family: var(--ml-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.ml-policy h2 {
  font-family: var(--ml-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}
.ml-policy p, .ml-policy li { color: var(--ml-mute); margin-bottom: 0.7rem; }
.ml-policy ul { margin: 0 0 1rem 1.2rem; }
.ml-policy li { list-style: disc; }

.ml-foot {
  background: var(--ml-ink);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 1.75rem;
}
.ml-foot__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.ml-foot__logo {
  font-family: var(--ml-display);
  font-weight: 700;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}
.ml-foot h4 {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}
.ml-foot a { display: block; margin-bottom: 0.4rem; font-size: 0.9rem; }
.ml-foot a:hover { color: #fdba74; }
.ml-foot__end {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ml-fadeup {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.ml-fadeup.in { opacity: 1; transform: none; }

.ml-list { list-style: none; margin-top: 1rem; }
.ml-list li {
  padding: 0.55rem 0 0.55rem 1.4rem;
  position: relative;
  color: var(--ml-mute);
  border-bottom: 1px solid var(--ml-line);
}
.ml-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 1rem;
  width: 8px; height: 8px;
  background: var(--ml-terra);
}

@media (max-width: 860px) {
  .ml-hero, .ml-cols-3, .ml-cols-2, .ml-foot__grid, .ml-case {
    grid-template-columns: 1fr;
  }
  .ml-menu {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--ml-line);
    padding: 1rem 4%;
    gap: 0;
  }
  body.has-cookie-bar .ml-menu { top: calc(68px + 44px); }
  .ml-menu.is-open { display: flex; }
  .ml-menu li { border-bottom: 1px solid var(--ml-line); }
  .ml-menu a { display: block; padding: 0.85rem 0; }
  .ml-tog { display: flex; }
  .ml-bar__row { position: relative; }
  .ml-ck__in { flex-direction: column; align-items: flex-start; padding: 0.65rem 0; }
}
