/* Cyteka: monitorizarea microclimatului pentru patrimoniul construit */

:root {
  --accent: #c8102e;
  --ink: #1f2328;
  --muted: #5b6470;
  --paper: #ffffff;
  --bg: #f7f5f1;
  --line: #e2ddd4;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

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

/* Header */
header.site {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { height: 34px; width: auto; display: block; }
/* Header */
.menu-btn {
  display: none; background: none; border: 1px solid var(--line); border-radius: 3px;
  padding: 8px 10px; font-size: 20px; line-height: 1; color: var(--ink); cursor: pointer;
}
nav.main { display: flex; gap: 26px; align-items: center; }
nav.main a { color: var(--ink); font-size: 15px; font-weight: 500; }
nav.main a.cta {
  background: var(--accent); color: #fff;
  padding: 9px 18px; border-radius: 3px; font-weight: 600;
}
nav.main a.cta:hover { background: #a30d25; text-decoration: none; }

/* Hero */
.hero { position: relative; color: #fff; }
.hero .bg { position: absolute; inset: 0; overflow: hidden; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.42) saturate(.75); }
.hero .wrap { position: relative; padding: 110px 24px 96px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.22;
  margin: 0 0 18px;
  max-width: 760px;
}
.hero .lead {
  font-size: 18px; max-width: 620px; color: #e8e4dd; margin: 0 0 30px;
}
.actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 12px 26px; border-radius: 3px;
  font-weight: 600; font-size: 15px;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #a30d25; }
.btn-ghost { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; }

/* Sections */
section { padding: 76px 0; }
section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.kicker {
  text-transform: uppercase; letter-spacing: .14em; font-size: 12px;
  font-weight: 700; color: var(--accent); margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 3vw, 34px); line-height: 1.25;
  margin: 0 0 16px;
}
.section-sub { max-width: 760px; color: var(--muted); font-size: 16.5px; margin: 0 0 40px; }

/* Why list */
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 36px 0 12px; }
.why-item h4 { font-family: var(--serif); font-size: 19px; margin-bottom: 8px; }
.why-item p { font-size: 15px; color: var(--muted); }
@media (max-width: 680px) { .why-list { grid-template-columns: 1fr; gap: 22px; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 4px;
  padding: 26px 26px 22px;
}
section.alt .card { background: var(--bg); }
.card h3 { font-size: 17px; margin: 4px 0 10px; font-weight: 700; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.card .price {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line);
  font-weight: 700; color: var(--accent); font-size: 15px;
}
.tag {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--accent); border: 1px solid var(--accent);
  padding: 2px 9px; border-radius: 2px;
}

/* Principles */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 10px; }
.principle h4 { font-size: 16px; margin: 0 0 8px; font-weight: 700; }
.principle h4 span { color: var(--accent); font-family: var(--serif); font-weight: 400; margin-right: 8px; }
.principle p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Demo */
.demo-box { margin-top: 8px; }
.demo-box img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.demo-note { color: var(--muted); font-size: 13.5px; margin-top: 10px; }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.module {
  border: 1px solid var(--line); border-left: 3px solid var(--accent);
  background: var(--bg); padding: 20px 22px; border-radius: 0 4px 4px 0;
}
.module h4 { margin: 0 0 8px; font-size: 16px; }
.module p { margin: 0; color: var(--muted); font-size: 14px; }
.module .price { margin-top: 12px; font-weight: 700; color: var(--accent); font-size: 14px; }

/* Table */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; min-width: 540px; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
thead th { background: var(--bg); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
td.price { font-weight: 600; white-space: nowrap; }
.table-note { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 14px 0; }
.contact-list li { margin-bottom: 10px; font-size: 15px; }
.contact-list .lbl {
  display: inline-block; min-width: 150px; color: var(--muted); font-size: 13px;
  text-transform: uppercase; letter-spacing: .07em;
}
.email-img { height: 15px; vertical-align: middle; }

form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
form > div { margin-bottom: 16px; }
input, select, textarea {
  width: 100%; padding: 10px 12px; font-size: 15px; font-family: inherit;
  border: 1px solid #c9c3b8; border-radius: 3px; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; }

/* Footer */
footer.site { background: #191d24; color: #aeb5bd; padding: 48px 0 24px; margin-top: 20px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
footer.site a { color: #d7dbe0; }
footer.site img { height: 30px; }
footer .legal { border-top: 1px solid #2b323b; margin-top: 36px; padding-top: 18px; font-size: 13px; }

@media (max-width: 680px) {
  .menu-btn { display: block; }
  nav.main {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start;
    padding: 12px 24px 20px; gap: 14px;
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
  }
  nav.main.open { display: flex; }
  nav.main a { font-size: 16px; }
  nav.main a.cta { margin-top: 6px; }
  header.site .wrap { position: relative; height: 60px; }
  .logo { height: 28px; }
  .hero .wrap { padding: 64px 24px 56px; }
  .hero .lead { font-size: 16px; }
  section { padding: 56px 0; }
  .wrap { padding: 0 18px; }
  .card { padding: 20px 18px 18px; }
  .contact-list .lbl { min-width: 110px; }
  footer.site .wrap { flex-direction: column; gap: 24px; }
  .demo-note { font-size: 13px; }
}

/* metigo page */
.metigo-hero { background:#1c2129; color:#fff; }
.metigo-hero-wrap { display:flex; align-items:center; gap:40px; flex-wrap:wrap; padding:72px 24px; }
.metigo-hero-wrap > div:first-child { flex:1 1 380px; }
.metigo-hero .lead { color:#c9cdd4; }
.content-img { display:block; width:100%; max-width:900px; margin:0 auto 36px; border:1px solid #e2dcd2; border-radius:6px; box-shadow:0 10px 30px rgba(0,0,0,.08); }

/* metigo: link-acțiune în carduri */
.link-arrow { display:inline-block; margin-top:10px; color:var(--accent); font-weight:600; text-decoration:none; border-bottom:1px solid transparent; }
.link-arrow:hover { border-bottom-color: var(--accent); }

/* ---------- Articole ---------- */
.article-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: 56px 0 40px; }
.article-hero .kicker { color: var(--accent); }
.article-hero h1 { font-family: var(--serif); font-size: 40px; line-height: 1.18; margin: 14px 0 14px; max-width: 820px; }
.article-hero .meta { color: var(--muted); font-size: 15px; margin: 0; }
.article-body { max-width: 760px; margin: 0 auto; padding: 48px 0 24px; font-size: 17.5px; }
.article-body h2 { font-family: var(--serif); font-size: 26px; line-height: 1.3; margin: 40px 0 14px; }
.article-body p { margin: 0 0 18px; }
.article-body ul { margin: 0 0 18px; padding-left: 22px; }
.article-body li { margin-bottom: 6px; }
.article-body strong { color: #000; }
.article-body figure { margin: 34px 0 34px; }
.article-body figure img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.article-body figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.article-body .note { font-size: 14px; color: var(--muted); font-style: italic; }
.article-body .cta-box { background: #fdf7f0; border-left: 3px solid var(--accent); padding: 18px 20px; margin: 30px 0 12px; font-size: 16.5px; }
.article-body .cta-box p:last-child { margin-bottom: 0; }
.article-body .next { border-top: 1px solid var(--line); padding-top: 20px; font-size: 16px; }
.article-body .next strong { display: block; margin-bottom: 6px; }
.series-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 26px 0 34px; }
.series-filter a { font-size: 14px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--paper); }
.series-filter a.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.article-list { display: grid; gap: 18px; }
.article-card { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 24px 26px; }
.article-card .tag { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.article-card h2 { font-family: var(--serif); font-size: 24px; margin: 8px 0 10px; }
.article-card h2 a { color: var(--ink); }
.article-card p { margin: 0 0 10px; color: var(--muted); }
.article-card .foot { font-size: 13.5px; color: var(--muted); }
@media (max-width: 680px) {
  .article-hero h1 { font-size: 29px; }
  .article-body { font-size: 16.5px; padding: 32px 0 16px; }
  .article-body h2 { font-size: 22px; margin-top: 32px; }
}
nav.main a.active { color: var(--accent); }

/* Notă sub titlul articolelor */
.article-note {
  max-width: 700px; margin: 14px 0 0;
  font-size: 12.5px; line-height: 1.55; color: var(--muted);
  border-top: 1px solid var(--line); padding-top: 10px;
}
.article-note strong { color: #555; font-weight: 600; }

/* Disclaimer în articole (nefolosit) */
.disclaimer {
  background: #fdf7f0;
  border: 1px solid #eadfd0;
  border-radius: 4px;
  padding: 16px 20px;
  margin: 0 0 26px;
  font-size: 15px;
  color: #4d5560;
}
.disclaimer p { margin: 0; }
.disclaimer strong { color: var(--ink); }

/* Distribuire */
.share {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 28px 0 26px; padding: 14px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.share span { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; }
.share a { font-weight: 600; }

/* Formular */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
form .consent { font-weight: 400; font-size: 14px; color: #444; display: flex; align-items: flex-start; }
form .consent a { text-decoration: underline; }

/* Notă secțiune articole */
.hero-note {
  max-width: 720px; margin: 16px 0 0;
  font-size: 12.5px; line-height: 1.55; color: var(--muted);
  border-top: 1px solid var(--line); padding-top: 10px;
}

.series-note {
  margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}

/* Titluri de secțiune în pagini de conținut */
section h3 { font-family: var(--sans); font-size: 17px; font-weight: 700; margin: 30px 0 8px; }
section > .wrap > p { color: #444; }
