/* ==========================================================
   SVJ HUB s.r.o. — design system
   ========================================================== */

:root {
  --color-dark: #1f3d2b;
  --color-dark-2: #2b4a3a;
  --color-accent: #f0824f;
  --color-accent-dark: #d9642f;
  --color-bg: #fdfcfa;
  --color-bg-alt: #eef6f1;
  --color-primary-soft: #e2f0e8;
  --color-card: #ffffff;
  --color-text: #202a25;
  --color-text-light: #5d6b64;
  --color-border: #e3ece6;
  --max-width: 1140px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 6px 22px rgba(31, 61, 43, 0.06);
  --shadow-hover: 0 14px 34px rgba(31, 61, 43, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--color-dark);
}

h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

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

a:hover { text-decoration: underline; }

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

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
  border: none;
}

.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(240, 130, 79, 0.28);
}
.btn-primary:hover { background: var(--color-accent-dark); }

.btn-outline {
  background: transparent;
  color: var(--color-dark);
  border: 2px solid var(--color-border);
  padding: 12px 28px;
}
.btn-outline:hover { background: var(--color-primary-soft); border-color: var(--color-primary-soft); }

.btn-small { padding: 10px 22px; font-size: 0.9rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 252, 250, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--color-dark);
  white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo svg { flex-shrink: 0; }
.logo span { color: var(--color-accent); }

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-dark);
  border-bottom-color: var(--color-accent);
  text-decoration: none;
}

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--color-dark);
  padding: 4px 8px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 84px 0 72px;
  background: radial-gradient(120% 140% at 15% 0%, #f4faf6 0%, var(--color-bg) 55%);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.hero h1 { margin-bottom: 0.4em; }

.hero-sub {
  font-size: 1.15rem;
  color: var(--color-text-light);
  max-width: 46ch;
  margin-bottom: 1.7em;
}

.hero-art {
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-primary-soft) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.hero-art img, .about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Trust stats ---------- */

.stats-bar {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--color-primary-soft);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.stat-icon svg { width: 22px; height: 22px; }

.stat-num {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--color-dark);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* ---------- Sections ---------- */

section { padding: 72px 0; }
.section-alt { background: var(--color-bg-alt); }

.section-intro {
  max-width: 70ch;
  font-size: 1.08rem;
  color: var(--color-text-light);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 70ch;
}

.section-lead-wide { max-width: 56rem; }

.about-photo {
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-primary-soft) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  aspect-ratio: 21 / 8;
  overflow: hidden;
  margin: 20px 0 28px;
}

/* ---------- Cards / grid ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
  align-items: start;
}

.card-grid-equal { align-items: stretch; }
.card-grid-equal .card { display: flex; flex-direction: column; }

.card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--color-text-light); margin-bottom: 0; }

/* ---------- USP list ---------- */

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
  align-items: stretch;
}

.usp-item {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.usp-item:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.usp-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-primary-soft);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.usp-icon svg { width: 26px; height: 26px; }

.usp-item h3 { font-size: 1.1rem; margin-bottom: 0.3em; }
.usp-item p { color: var(--color-text-light); margin: 0; }

/* ---------- Team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 24px;
  max-width: 640px;
}

.team-card { text-align: center; }

.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  border: 2px dashed var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--color-text-light);
  font-size: 0.85rem;
  text-align: center;
  padding: 8px;
}

.team-card h3 { margin-bottom: 0.2em; }
.team-card .team-role { color: var(--color-text-light); font-size: 0.95rem; margin-bottom: 0.4em; }
.team-card .team-phone { font-weight: 600; color: var(--color-text-light); }

/* ---------- Price teaser / table ---------- */

.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.price-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 24px;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.price-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.price-value {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--color-dark);
}

.price-value span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-light);
}

.price-label {
  margin-top: 8px;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.price-cta {
  text-align: center;
  margin-top: 32px;
}

.price-cta p {
  margin: 16px 0 0;
  color: var(--color-text-light);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.price-table th, .price-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.price-table th {
  background: var(--color-bg-alt);
  color: var(--color-dark);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.price-table tr:last-child td { border-bottom: none; }
.price-table td:last-child { font-weight: 600; color: var(--color-dark); white-space: nowrap; }

/* ---------- Process steps ---------- */

.steps {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  flex-shrink: 0;
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 1px var(--color-border);
}

.step h3 { margin: 18px 0 0.3em; font-size: 1.05rem; }
.step p { color: var(--color-text-light); margin: 0; font-size: 0.92rem; }

/* ---------- FAQ (details/summary) ---------- */

.faq-list { margin-top: 24px; }

.faq-item {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 24px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--color-dark);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-answer {
  padding: 0 24px 20px;
  color: var(--color-text-light);
}

.faq-category-title {
  margin-top: 40px;
  margin-bottom: 4px;
}
.faq-category-title:first-of-type { margin-top: 0; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
}

.contact-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}

.contact-card h3 { margin-bottom: 0.6em; }
.contact-card p { margin-bottom: 0.4em; }

.map-placeholder {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.map-placeholder img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-primary-soft) 100%);
  border-top: 1px solid var(--color-border);
  color: var(--color-text);
  text-align: center;
  padding: 64px 0;
}

.cta-band h2 { color: var(--color-dark); }
.cta-band p { color: var(--color-text-light); max-width: 60ch; margin: 0 auto 1.6em; }
.cta-band .contact-line {
  margin-top: 20px;
  color: var(--color-text-light);
  font-size: 0.95rem;
}
.cta-band .contact-line a { color: var(--color-dark); text-decoration: underline; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-dark-2);
  color: rgba(255,255,255,0.85);
  padding: 52px 0 20px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.footer-inner h4 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.8em;
}

.footer-inner .logo { color: #fff; margin-bottom: 12px; }
.footer-inner p { margin-bottom: 0.4em; color: rgba(255,255,255,0.75); }
.footer-inner a { color: rgba(255,255,255,0.85); }

.footer-nav { display: flex; flex-direction: column; gap: 8px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 32px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- Utilities ---------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge {
  display: inline-block;
  background: var(--color-primary-soft);
  color: var(--color-dark);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; aspect-ratio: 16/9; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps::before { display: none; }
  .step { flex-direction: row; align-items: flex-start; text-align: left; gap: 20px; }
  .step-num { margin: 0; }
  .step h3 { margin: 0 0 0.3em; }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 24px; border-bottom: 1px solid var(--color-border); }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
}
