/* Crucel — structural draft styles.
   Brand colors sampled from the logo. Visual style is intentionally plain for now. */

:root {
  /* exact values from the vector logo (assets/img/source/logo.ai) */
  --brand-orange: #ff6400;
  --brand-gray: #474736;

  --text: #2b2723;
  --text-muted: #6b645b;
  --bg: #ffffff;
  --bg-alt: #f6f4f1;
  --bg-dark: #2b2723;
  --border: #e4e0da;

  --radius: 10px;
  --container: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--text); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--brand-orange); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo { display: flex; }
.logo img { display: block; height: 27px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--text); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--brand-orange); }
.nav a.nav-help { color: var(--brand-orange); font-weight: 600; }

/* Language switcher: EN / AZ / RU dropdown */
.lang { display: flex; align-items: center; }
.lang select {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%232b2723' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 26px 6px 10px;
  cursor: pointer;
}
.lang select:hover { border-color: var(--brand-orange); }
.lang select:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 2px; }
.lang noscript a { margin-left: 8px; font-size: .9rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  background: var(--brand-orange);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.nav a.btn { color: #fff; }
.btn:hover { filter: brightness(.92); }
.btn-small { padding: 8px 16px; }

/* Hero */
.hero {
  padding: 96px 0;
  background: var(--bg-alt);
}
.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.hero h1 em { font-style: normal; color: var(--brand-orange); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .85rem;
  font-weight: 700;
  color: var(--brand-orange);
  margin-bottom: 1em;
}
.lead { font-size: 1.2rem; color: var(--text-muted); max-width: 40rem; }
.lead-strong { font-size: 1.2rem; font-weight: 600; margin-bottom: 1.5em; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-intro { color: var(--text-muted); max-width: 40rem; margin-bottom: 2em; }

.section-dark { background: var(--bg-dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a { color: #fff; }
.section-dark h3 { color: var(--brand-orange); }

/* Grids */
.grid { display: grid; gap: 24px; margin-top: 32px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav > a:not(.btn):not(.nav-help) { display: none; }
  .nav { gap: 12px; }
  .header-inner { gap: 12px; }
  .logo { flex-shrink: 0; }
  .logo img { height: 20px; }
  .nav a.nav-help { font-size: .9rem; }
  .lang select { padding: 5px 22px 5px 8px; background-position: right 6px center; }
  .nav a.btn-small { padding: 7px 12px; font-size: .9rem; }
  .hero { padding: 64px 0; }
  .section { padding: 56px 0; }
}

/* Cards & features */
.card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}
.card p, .feature p { color: var(--text-muted); margin: 0; }

/* Icons — Lineicons via assets/icons/sprite.svg (see tools/build-icons.mjs) */
.icon {
  display: block;
  width: 40px;
  height: 40px;
  color: var(--brand-orange);
  margin-bottom: 12px;
}
.with-icon { display: flex; align-items: center; gap: 8px; }
.with-icon .icon { width: 22px; height: 22px; margin: 0; }

/* What we offer */
.promises { list-style: none; padding: 0; margin: 0; }
.promises li {
  font-size: 1.2rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.promises li:last-child { border-bottom: 0; }
.promises strong { color: var(--brand-orange); text-transform: uppercase; }

/* Highlights band (3 cards, no heading) */
.highlights { margin-top: 0; }
.card .stat {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--brand-orange);
  line-height: 1;
  margin-bottom: 8px;
}

/* Guarantee */
.guarantee {
  padding: 64px 0;
  background: var(--brand-orange);
  color: #fff;
  text-align: center;
}
.guarantee h2 { color: #fff; text-transform: uppercase; }
.guarantee p { font-size: 1.3rem; margin: 0; }

/* Remote help */
.help {
  padding: 48px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.help-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.help h2 { font-size: 1.5rem; margin-bottom: .25em; }
.help p { color: var(--text-muted); margin: 0; }
.btn-large { padding: 16px 32px; font-size: 1.1rem; }

/* Contact */
.contact {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  margin-top: 32px;
}
@media (min-width: 860px) {
  .contact { grid-template-columns: 1fr 1.4fr; gap: 64px; }
}
.contact-details { display: grid; gap: 28px; align-content: start; }
.contact-details p { margin: 0; }
.contact address { font-style: normal; }

/* Contact form (same approach as volverline-website) */
.contact-form {
  background: #fff;
  color: var(--text);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 36px);
}
.contact-form h3 { color: var(--text); font-size: 1.3rem; margin-bottom: 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.optional { font-weight: 400; color: var(--text-muted); }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  border: 1px solid #cfc9c1;
  border-radius: 8px;
  padding: .7em .85em;
  background: #fff;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(255, 100, 0, .2);
}
.field textarea { resize: vertical; min-height: 120px; }
.field [aria-invalid="true"] { border-color: #b3261e; }

.cf-turnstile { margin-bottom: 18px; min-height: 65px; }

.contact-form .btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.contact-form .btn:disabled { opacity: .6; cursor: wait; }

/* Spam trap field, hidden from people */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 14px 0 0; min-height: 1.6em; font-weight: 500; }
.form-status.is-error { color: #b3261e; }
.form-status.is-success { color: #1e6b3a; }

/* 404 page */
.notfound { min-height: 70vh; display: flex; align-items: center; }

/* Footer */
.site-footer {
  padding: 24px 0;
  background: #1f1c19;
  color: #a39b90;
  font-size: .9rem;
}
.site-footer p { margin: 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
