/* ===== VELKAST.SPACE — STYLESHEET ===== */
/* Theme: warm light — terracotta / slate / cream */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --terra:     #c85c3a;
  --terra-d:   #a0432a;
  --terra-l:   #f0e6e1;
  --terra-pale:#fdf5f2;
  --slate:     #2c3a45;
  --slate-m:   #4a5c6a;
  --slate-l:   #8a9baa;
  --cream:     #fefcf9;
  --white:     #ffffff;
  --border:    #e4ddd7;
  --border-l:  #f0ebe6;
  --green-ok:  #2e7d52;
  --green-bg:  #eef7f2;
  --warn-bg:   #fff8f0;
  --warn-bdr:  #e09050;
  --radius:    10px;
  --shadow:    0 4px 28px rgba(44,58,69,0.09);
  --shadow-m:  0 8px 40px rgba(44,58,69,0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--slate);
  font-size: 16.5px;
  line-height: 1.75;
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--terra);
  color: rgba(255,255,255,0.92);
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  padding: 8px 20px;
  letter-spacing: 0.03em;
}

.topbar a { color: #fff; font-weight: 700; text-decoration: underline; }

/* ===== HEADER ===== */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(44,58,69,0.07);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 64px;
}

.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.55rem;
  color: var(--slate);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo span { color: var(--terra); }

nav { display: flex; align-items: center; gap: 2px; }

nav a {
  color: var(--slate-m);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

nav a:hover { color: var(--slate); background: var(--terra-pale); }

nav a.nav-cta {
  background: var(--terra);
  color: #fff;
  font-weight: 700;
  margin-left: 8px;
  padding: 8px 18px;
}

nav a.nav-cta:hover { background: var(--terra-d); color: #fff; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate);
  border-radius: 2px;
  transition: all 0.25s;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 8px 20px 16px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: var(--slate-m);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 6px;
  border-bottom: 1px solid var(--border-l);
}

.mobile-nav a:last-child { border-bottom: none; color: var(--terra); font-weight: 700; }
.mobile-nav a:hover { color: var(--slate); }

/* ===== HERO ===== */
.hero {
  background: var(--terra-pale);
  border-bottom: 1px solid var(--border);
  padding: 72px 28px 64px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,92,58,0.10) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 52px;
  align-items: center;
  position: relative;
}

.hero-text { flex: 1; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terra);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--terra);
  border-radius: 2px;
}

h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  color: var(--slate);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

h1 em {
  font-style: italic;
  color: var(--terra);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--slate-m);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-img {
  flex-shrink: 0;
  width: 200px;
}

.hero-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-m);
  display: block;
}

/* ===== BUTTONS ===== */
.btn-terra {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--terra);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.97rem;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(200,92,58,0.28);
  transition: all 0.18s;
  letter-spacing: 0.01em;
}

.btn-terra:hover {
  background: var(--terra-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,92,58,0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--terra);
  border: 1.5px solid var(--terra);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.18s;
}

.btn-outline:hover { background: var(--terra); color: #fff; }

/* ===== LAYOUT ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

.page-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 52px 28px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 44px;
}

/* ===== SECTION ===== */
section { margin-bottom: 48px; }

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--slate);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-l);
  letter-spacing: -0.02em;
}

p { margin-bottom: 14px; }
p:last-child { margin-bottom: 0; }

/* ===== STEPS ===== */
.steps { list-style: none; }

.step {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-l);
}

.step:last-child { border-bottom: none; }

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--terra);
  color: #fff;
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(200,92,58,0.25);
  margin-top: 2px;
}

.step-content {}
.step-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--slate);
  margin-bottom: 4px;
}
.step-body { font-size: 0.93rem; color: var(--slate-m); line-height: 1.7; }

/* ===== NOTICE / ALERT ===== */
.notice {
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  font-size: 0.93rem;
}

.notice-warn {
  background: var(--warn-bg);
  border-left: 4px solid var(--warn-bdr);
  color: var(--slate);
}

.notice-ok {
  background: var(--green-bg);
  border-left: 4px solid var(--green-ok);
  color: var(--slate);
}

.notice strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.notice-warn strong { color: #a06020; }
.notice-ok strong { color: var(--green-ok); }

/* ===== CHECK LIST ===== */
.check-list { list-style: none; margin-bottom: 16px; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-l);
  color: var(--slate-m);
}

.check-list li:last-child { border-bottom: none; }

.check-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--green-bg);
  color: var(--green-ok);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 1px;
}

.check-list li b { color: var(--slate); }

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow);
}

.ic-icon { font-size: 1.6rem; margin-bottom: 8px; }
.ic-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--slate-l);
  margin-bottom: 4px;
}
.ic-value {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  color: var(--slate);
}

/* ===== FAQ ===== */
.faq-wrap { border-top: 1px solid var(--border); }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 17px 2px;
  font-weight: 600;
  font-size: 0.97rem;
  cursor: pointer;
  user-select: none;
  color: var(--slate);
  transition: color 0.15s;
}

.faq-q:hover { color: var(--terra); }

.faq-icon {
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terra);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.2s, background 0.2s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--terra-pale); }

.faq-a {
  display: none;
  padding: 0 4px 18px;
  font-size: 0.93rem;
  color: var(--slate-m);
  line-height: 1.75;
}

.faq-item.open .faq-a { display: block; }

/* ===== SIDEBAR ===== */
.sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
  text-align: center;
}

.sidebar-card img {
  width: 120px;
  border-radius: 10px;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(44,58,69,0.12);
}

.sc-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--slate);
  margin-bottom: 4px;
}

.sc-sub { font-size: 0.82rem; color: var(--slate-l); margin-bottom: 18px; }
.sidebar-card .btn-terra { width: 100%; justify-content: center; }

.sidebar-nav {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--slate-m);
  text-decoration: none;
  border-bottom: 1px solid var(--border-l);
  transition: color 0.14s, background 0.14s;
}

.sidebar-nav a:last-child { border-bottom: none; }
.sidebar-nav a:hover { color: var(--terra); background: var(--terra-pale); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--terra);
  border-radius: 14px;
  padding: 36px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  left: -40px;
  top: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
}

.cta-banner h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 6px;
}

.cta-banner p { font-size: 0.92rem; color: rgba(255,255,255,0.82); margin: 0; }

.cta-banner .btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--terra-d);
  font-weight: 700;
  font-size: 0.97rem;
  padding: 14px 26px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.18s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.cta-banner .btn-white:hover { background: var(--terra-pale); }

/* ===== COMPARISON TABLE ===== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}

.compare-table th {
  background: var(--slate);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
  padding: 12px 18px;
  letter-spacing: 0.04em;
}

.compare-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-l);
  font-size: 0.93rem;
  color: var(--slate-m);
}

.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--terra-pale); }
.compare-table .ok { color: var(--green-ok); font-weight: 700; }
.compare-table .no { color: #c04040; font-weight: 700; }

/* ===== FOOTER ===== */
footer {
  background: var(--slate);
  color: rgba(255,255,255,0.55);
  font-size: 0.84rem;
  padding: 36px 28px;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
  margin-bottom: 14px;
}

footer a { color: rgba(255,255,255,0.55); text-decoration: none; }
footer a:hover { color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  nav { display: none; }
  .burger { display: flex; }
  .hero-inner { flex-direction: column-reverse; gap: 24px; }
  .hero-img { width: 150px; margin: 0 auto; }
  .hero { padding: 44px 20px 40px; }
  .cta-banner { flex-direction: column; text-align: center; padding: 28px 20px; }
  .page-layout { padding: 32px 16px; }
}

@media (max-width: 440px) {
  .cards-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.75rem; }
}
