/* Heritage & Modern Craft */
:root {
  --bg-light: #fafafa;
  --bg-warm: #f1f3f5;
  --text: #181c20;
  --muted: #4b5563;
  --navy: #1e3a5f;
  --copper: #c85a32;
  --copper-dark: #a84824;
  --line: #e2e6ea;
  --bg-soft: #f1f3f5;
  --border: #e2e6ea;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg-light); color: var(--text); line-height: 1.65; }
a { color: var(--navy); }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.site-header { background: var(--bg-light); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; flex-wrap: wrap; }
.brand { text-decoration: none; display: flex; flex-direction: column; }
.brand-name { font-weight: 800; font-size: 1.18rem; letter-spacing: 0.08em; color: var(--navy); }
.brand-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; color: var(--copper); }
.topnav ul { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; }
.topnav a { text-decoration: none; color: var(--text); font-weight: 600; font-size: 0.92rem; }
.topnav a:hover, .topnav a.active { color: var(--copper); }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.lang-switch a { text-decoration: none; color: var(--muted); }
.lang-switch a.lang-active { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }

.hero { padding: 72px 0; border-bottom: 1px solid var(--line); }
.hero-layout { display: grid; grid-template-columns: 1.35fr 0.85fr; gap: 40px; align-items: center; }
.eyebrow { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--copper); margin-bottom: 10px; }
.kicker { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--copper); margin-bottom: 8px; }
.hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.18; color: var(--navy); font-weight: 800; margin-bottom: 18px; }
.statement, .lead { color: var(--muted); font-size: 1.03rem; margin-bottom: 14px; }
.offer-call { color: var(--text); font-weight: 600; margin-bottom: 24px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 0.92rem; padding: 11px 20px; border-radius: 6px; border: none; cursor: pointer; }
.btn-copper, .btn-submit { background: var(--copper); color: #ffffff; }
.btn-copper:hover, .btn-submit:hover { background: var(--copper-dark); }
.btn-outline { border: 1.5px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #ffffff; }

.heritage-box { background: var(--bg-warm); border: 1px solid var(--line); border-radius: 8px; padding: 26px; }
.years { font-size: 2.5rem; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 6px; }
.years-label { font-weight: 700; color: var(--copper); margin-bottom: 12px; }
.heritage-box p { color: var(--muted); font-size: 0.93rem; margin-bottom: 16px; }
.meta-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.meta-tags span { font-size: 0.78rem; font-weight: 700; background: #ffffff; border: 1px solid var(--line); color: var(--navy); padding: 5px 10px; border-radius: 4px; }

.section { padding: 64px 0; }
.section-warm { background: var(--bg-warm); }
.section h2 { font-size: clamp(1.5rem, 2.7vw, 2rem); color: var(--navy); font-weight: 800; margin-bottom: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.box { background: #ffffff; border: 1px solid var(--line); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.num { font-size: 0.85rem; font-weight: 800; color: var(--copper); }
.box h3 { color: var(--navy); font-size: 1.12rem; }
.box p { color: var(--muted); font-size: 0.93rem; }
.box a { text-decoration: none; color: var(--navy); font-weight: 700; font-size: 0.9rem; }
.highlight-box { border-left: 4px solid var(--copper); }
.highlight-box p + p { margin-top: 12px; }

.site-footer { background: var(--navy); color: #e2e8f0; padding: 26px 0; font-size: 0.88rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: #ffffff; text-decoration: none; }

@media (max-width: 900px) { .hero-layout, .grid-3 { grid-template-columns: 1fr; } }

.page-head {
  padding: 52px 0 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.page-head h1 {
  font-size: clamp(1.7rem, 3.3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 10px;
}

.content-split,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
}

.info-card,
.contact-card,
.contact-form,
.sw-block {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}

.info-card h2,
.contact-card h2,
.contact-form h2,
.sw-block h2 {
  color: var(--navy);
  margin-bottom: 14px;
}

.styled-list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 18px;
  color: var(--text);
}

.sub-title {
  color: var(--navy);
  font-size: 1.45rem;
  margin-bottom: 18px;
}

.top-gap {
  margin-top: 44px;
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.ref-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}

.ref-item h3 {
  font-size: 0.98rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.ref-item img,
.gallery-4 img,
.gallery-3 img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid var(--border);
  display: block;
  width: 190px;
}

.software-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sw-block p {
  color: var(--muted);
  margin-bottom: 12px;
}

.sw-block h3 {
  color: var(--navy);
  font-size: 1.08rem;
  margin: 18px 0 12px;
}

.sw-divider {
  border: none;
  border-top: 1px solid var(--border);
}

.gallery-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.gallery-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

figure figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.contact-card p {
  margin-bottom: 8px;
  color: var(--text);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
}

@media (max-width: 900px) {
  .content-split,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
