/* ============================================
   Chirii Generatoare — sistem vizual "placă de bord"
   Paletă: șasiu antracit, alertă ambră, oțel, rugină
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --charcoal: #1b1e1c;
  --charcoal-2: #242825;
  --offwhite: #f3f1ea;
  --amber: #f2a93b;
  --rust: #b4431c;
  --steel: #7c8790;
  --steel-line: rgba(243, 241, 234, 0.14);
  --ok-green: #6fae5f;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--offwhite);
  font-family: var(--font-body);
  line-height: 1.55;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

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

/* Hazard stripe — used sparingly as a literal power/safety motif */
.hazard-strip {
  height: 10px;
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--amber),
    var(--amber) 14px,
    var(--charcoal) 14px,
    var(--charcoal) 28px
  );
}

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--charcoal);
  border-bottom: 1px solid var(--steel-line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand svg { width: 26px; height: 26px; flex-shrink: 0; }

nav.site-nav a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--steel);
  margin-left: 24px;
  transition: color 0.15s ease;
}

nav.site-nav a:hover { color: var(--amber); }

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 64px;
  position: relative;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 18px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.04;
  font-weight: 700;
  margin: 0 0 22px;
  max-width: 14ch;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber);
}

.hero p.lede {
  max-width: 46ch;
  font-size: 1.08rem;
  color: #d8d5cb;
  margin: 0 0 34px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--amber); color: var(--charcoal); font-weight: 600; }
.btn-primary:hover { background: #ffbc5a; }

.btn-ghost { border-color: var(--steel-line); color: var(--offwhite); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }

/* ---------- Section shell ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--charcoal-2); }

.section-head { margin-bottom: 40px; max-width: 60ch; }

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 10px;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 600;
  margin: 0;
}

/* ---------- Generator "rating plate" cards ---------- */
.plate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.plate {
  position: relative;
  background: var(--charcoal);
  border: 1px solid var(--steel-line);
  border-radius: 4px;
  padding: 26px 26px 22px;
}

.plate::before,
.plate::after,
.plate .rivet-tl,
.plate .rivet-tr {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--steel);
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.5);
}
.plate::before { top: 10px; left: 10px; }
.plate::after { top: 10px; right: 10px; }
.plate .rivet-bl, .plate .rivet-br {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--steel);
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.5);
}
.plate .rivet-bl { bottom: 10px; left: 10px; }
.plate .rivet-br { bottom: 10px; right: 10px; }

.plate-photo {
  width: 100%;
  height: 160px;
  border-radius: 3px;
  background: var(--charcoal-2);
  border: 1px dashed var(--steel-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  overflow: hidden;
  margin-bottom: 18px;
}

.plate-photo img { width: 100%; height: 100%; object-fit: cover; }

.plate-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}

.plate h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

.status-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 12px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.status-pill.available { background: rgba(111,174,95,0.14); color: var(--ok-green); }
.status-pill.unavailable { background: rgba(180,67,28,0.16); color: var(--rust); }

.status-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}

.plate p.desc {
  color: #c9c6bc;
  font-size: 0.93rem;
  margin: 10px 0 18px;
}

.spec-table {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  border-top: 1px solid var(--steel-line);
  padding-top: 14px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px dotted var(--steel-line);
}

.spec-row:last-child { border-bottom: none; }

.spec-row .k { color: var(--steel); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.72rem; }
.spec-row .v { color: var(--offwhite); font-weight: 500; }

.plate-price {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plate-price .amount {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--amber);
}

.plate-price .unit {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--steel);
  text-transform: uppercase;
}

/* ---------- Why us ---------- */
.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.reason {
  border-left: 2px solid var(--amber);
  padding-left: 16px;
}

.reason h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 6px;
}

.reason p { margin: 0; color: #c9c6bc; font-size: 0.92rem; }

/* ---------- Contact ---------- */
.contact-plate {
  background: var(--charcoal-2);
  border: 1px solid var(--steel-line);
  border-radius: 4px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
}

@media (max-width: 640px) {
  .contact-plate { grid-template-columns: 1fr; }
}

.contact-plate h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 14px;
}

.contact-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.contact-row svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--amber); }

.contact-row .label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--steel);
  margin-bottom: 2px;
}

.cta-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--steel-line);
  padding: 28px 0;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--steel);
}

footer a { color: var(--steel); text-decoration: none; }
footer a:hover { color: var(--amber); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
