:root {
  --primary: #0d1b2a;
  --accent: #c5a55a;
  --surface: #f5f5f0;
  --ink: #17212b;
  --muted: #5c6670;
  --line: #d8d8d1;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
}
h1, h2, h3 { margin: 0 0 0.7rem; line-height: 1.15; }
h1, h2 { letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 92%); margin: 0 auto; }

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--primary);
}
nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
  min-height: 72px;
}
nav a { color: #fff; font-weight: 500; font-size: 0.95rem; }
nav a:hover { color: var(--accent); }
nav .brand {
  margin-right: auto;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section { padding: clamp(2.7rem, 7vw, 4.6rem) 0; }
.section.alt { background: linear-gradient(180deg, var(--surface), #fff); border-bottom: 1px solid var(--line); }
.section h1 { font-size: clamp(2rem, 5vw, 3rem); max-width: 18ch; color: var(--primary); }
.section p { color: var(--muted); margin: 0 0 1rem; }

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 10px 26px rgba(13, 27, 42, 0.06);
}
.card h3 { color: var(--primary); font-size: 1.12rem; }
.card p { margin: 0.35rem 0 0; }

.ph {
  height: 190px;
  border-radius: 10px;
  background: linear-gradient(145deg, #d3d7db, #bcc4cb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #59636c;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

form {
  margin-top: 1rem;
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
input, textarea, select {
  width: 100%;
  border: 1px solid #c7ccd1;
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font: inherit;
}
textarea { min-height: 120px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.1rem;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #1d1a13;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12); }

footer {
  margin-top: 2.2rem;
  padding: 2rem 0;
  background: var(--primary);
  color: #dbe2ea;
}
footer p { margin: 0.4rem 0; color: inherit; }
footer a { color: #fff; }

.thanks { display: none; color: #12643d; font-weight: 700; margin: 0.2rem 0 0; }

@media (max-width: 780px) {
  nav { padding: 0.7rem 0; }
  nav .brand { width: 100%; margin-right: 0; }
  nav a { font-size: 1rem; }
  .btn { width: 100%; }
}

/* Page components */
.hero {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}
.hero-media {
  min-height: 360px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #cfd6dd, #b8c2cc);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4f5963;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}
.kpis { display: grid; gap: 0.8rem; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 1.2rem; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 0.9rem; background: #fff; }
.kpi strong { display: block; font-size: 1.35rem; color: var(--primary); }
.kpi span { display: block; font-size: 0.95rem; color: var(--muted); }
.pill-row { display:flex; flex-wrap:wrap; gap:0.5rem; margin-top:0.75rem; }
.pill { display:inline-flex; align-items:center; padding:0.45rem 0.7rem; border-radius:999px; border:1px solid var(--line); background:#fff; font-weight:600; font-size:0.95rem; color:var(--primary); }
.split-2 { display:grid; gap:1rem; grid-template-columns:1fr 1fr; align-items:start; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-2 { grid-template-columns: 1fr; }
}

nav a.is-active {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.form-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.slider {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 1rem;
}
.slider-viewport { overflow: hidden; }
.slider-track {
  display: flex;
  transition: transform 0.35s ease;
}
.slide {
  min-width: 100%;
  padding: 0.25rem;
}
.slider-controls {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.5rem;
}
.slider-btn {
  min-height: 40px;
  min-width: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}

@media (max-width: 780px) {
  .form-grid { grid-template-columns: 1fr; }
}
