/* ==================================================
   Nokto Studio - components.css
   Cards · Pricing · Process · FAQ · CTA bands · Forms
   ================================================== */

/* ===== GENERIC CARD ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.card-hover { transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(60,64,67,.18);
  border-color: var(--border);
}

/* ===== BENEFIT / FEATURE CARDS ===== */
.benefit-card {
  background: #fff; border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 30px 26px;
  box-shadow: var(--shadow-card);
}
.benefit-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 18px;
}
.icon-violet  { background: #F0EAFB; }
.icon-orange   { background: #FDEBE8; }
.icon-cerulean{ background: #E2F4FA; }
.icon-violet-light { background: #F5F1FC; }
.benefit-card h3 { margin-bottom: 8px; }
.benefit-card p  { font-size: 0.95rem; }

/* ===== STEP / PROCESS ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; background: #fff;
  border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: #fff; margin-bottom: 16px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.num-violet  { background: var(--brand-primary); }
.num-orange   { background: var(--brand-warm); }
.num-cerulean{ background: #0F7FA3; }
.num-violet-light { background: var(--brand-primary-light); }
.step:hover .step-num {
  box-shadow: 0 0 0 6px rgba(122,80,214,0.15);
  transform: scale(1.06);
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.93rem; }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 940px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: #fff; border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 32px 28px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
}
.price-card.featured {
  border: 2px solid var(--brand-primary);
  box-shadow: 0 4px 16px rgba(122,80,214,0.18);
  position: relative;
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand-primary); color: #fff;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 100px; white-space: nowrap;
}
.price-hours { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.price-amount { font-size: 2.3rem; font-weight: 700; letter-spacing: -0.03em; margin: 8px 0 2px; color: var(--text); }
.price-amount small { font-size: 1rem; font-weight: 600; color: var(--text-muted); }
.price-monthly { font-size: 0.9rem; color: var(--text-2); margin-bottom: 20px; }
.price-monthly strong { color: var(--brand-primary-deep); }
.price-card ul { margin: 0 0 24px; flex: 1; }
.price-card ul li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.93rem; color: var(--text-2); padding: 7px 0;
}
.price-card ul li::before {
  content: '\2713'; color: var(--brand-primary-light); font-weight: 700; flex: 0 0 auto;
}
.price-card .btn { width: 100%; }

/* ===== RATE BAND (12 EUR/h strip) ===== */
.rate-band {
  background: linear-gradient(90deg, #F0EAFB 0%, #E2F4FA 50%, #F5F1FC 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 28px; justify-content: space-between;
}
.rate-band .rate-big { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.03em; color: var(--text); }
.rate-band .rate-big small { font-size: 1rem; font-weight: 600; color: var(--text-2); }

/* ===== CASE / PROJECT CARDS ===== */
.project-card {
  background: #fff; border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.project-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.project-tag {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 100px;
}
.tag-violet   { background: #F0EAFB; color: #5733A6; }
.tag-orange    { background: #FDEBE8; color: #C93A25; }
.tag-cerulean { background: #E2F4FA; color: #0F7FA3; }
.tag-violet-light  { background: #F5F1FC; color: #6A3FC4; }
.case-result {
  display: flex; gap: 20px; margin: 14px 0; padding: 12px 16px;
  background: var(--bg-2); border-radius: var(--radius-sm);
}
.case-result div strong { display: block; font-size: 1.15rem; color: var(--brand-primary-deep); letter-spacing: -0.01em; }
.case-result div span { font-size: 0.78rem; color: var(--text-muted); }
.project-card-body .btn { margin-top: auto; align-self: flex-start; }

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid var(--border-light); border-radius: var(--radius);
  background: #fff; margin-bottom: 12px; overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left; background: none; border: none;
  padding: 18px 22px; font-size: 1rem; font-weight: 600; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-question::after {
  content: '+'; font-size: 1.4rem; font-weight: 600; color: var(--brand-primary-deep);
  transition: transform 0.2s ease; flex: 0 0 auto;
}
.faq-item.open .faq-question::after { content: '\2212'; }
.faq-answer { display: none; padding: 0 22px 18px; color: var(--text-2); font-size: 0.95rem; }
.faq-item.open .faq-answer { display: block; }

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--dark); color: #fff;
  border-radius: var(--radius-lg);
  padding: 52px 44px;
  display: flex; flex-wrap: wrap; gap: 30px; align-items: center; justify-content: space-between;
}
.cta-band h2 { color: #fff; font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em; max-width: 560px; }
.cta-band p { color: #BDC1C6; margin-top: 10px; max-width: 560px; }
.cta-band .hero-ctas { margin-top: 0; }
@media (max-width: 860px) { .cta-band { padding: 36px 28px; } }

/* ===== FORMS ===== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-label { font-size: 0.84rem; font-weight: 600; color: var(--text); }
.form-input, .form-select, .form-textarea {
  font-family: inherit; font-size: 0.95rem; color: var(--text);
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 14px; transition: border-color var(--t), box-shadow var(--t);
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--brand-primary-deep);
  box-shadow: 0 0 0 3px rgba(106,63,196,0.15);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 8px; }

/* ===== INLINE CHECKS / DELIVERABLE LIST ===== */
.deliv-list li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px dashed var(--border-light);
  color: var(--text-2); font-size: 0.96rem;
}
.deliv-list li:last-child { border-bottom: none; }
.deliv-list .check {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  background: #F5F1FC; color: var(--brand-cool-deep);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.78rem; margin-top: 2px;
}

/* ===== METRIC TABLE (measurement section) ===== */
.metric-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); font-size: 0.94rem; }
.metric-table th { background: var(--surface-tint); text-align: left; padding: 13px 16px; font-weight: 700; border-bottom: 2px solid var(--brand-primary); }
.metric-table td { padding: 13px 16px; border-bottom: 1px solid var(--border-light); color: var(--text-2); vertical-align: top; }
.metric-table tr:last-child td { border-bottom: none; }
.metric-table td strong { color: var(--text); }

/* ===== QUOTE / TESTIMONIAL ===== */
.quote-card {
  background: #fff; border: 1px solid var(--border-light); border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-card);
}
.quote-card p { font-size: 1rem; color: var(--text-2); font-style: italic; }
.quote-author { margin-top: 14px; font-size: 0.86rem; font-weight: 700; color: var(--text); }
.quote-author span { display: block; font-weight: 500; color: var(--text-muted); }

/* ===== SERVICE PAGE HERO CARDS ===== */
.svc-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 720px) { .svc-facts { grid-template-columns: 1fr; } }
.svc-fact { background: rgba(255,255,255,0.7); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 20px 22px; }
.svc-fact strong { display: block; font-size: 1.3rem; color: var(--brand-primary-deep); letter-spacing: -0.01em; }
.svc-fact span { font-size: 0.82rem; color: var(--text-muted); }

/* ===== SVG ICONS (Google colors, no emoji) ===== */
.gicon { display: inline-flex; align-items: center; justify-content: center; }
.gicon svg { display: block; }

/* partner + growth chart blocks */
.partner-band { display: flex; gap: 18px; flex-wrap: wrap; }
.partner-card {
  flex: 1 1 260px; background: #fff; border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 22px; display: flex; gap: 14px; align-items: flex-start;
}
.partner-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.partner-card p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 10px; }
.partner-badge { flex: 0 0 42px; height: 42px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; }
.about-simon { display: grid; grid-template-columns: 300px 1fr; gap: 42px; align-items: center; }
@media (max-width: 800px) { .about-simon { grid-template-columns: 1fr; } }
.about-simon-photo img { width: 100%; border-radius: var(--radius-lg); display: block; }
.growth-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 24px; position: relative; overflow: hidden;
}
.growth-card h3 { font-size: 1.6rem; letter-spacing: -0.5px; margin-bottom: 2px; }
.growth-card p { font-size: 0.88rem; color: var(--text-muted); }
.growth-bar { height: 5px; border-radius: 3px; margin: 14px 0 10px; }

/* ===== NAV DROPDOWN (Sluzby rollout) + PHONE ===== */
.nav-drop { position: relative; }
.nav-drop-link { display: inline-flex; align-items: center; gap: 5px; }
.nav-drop-link svg { transition: transform .2s ease; opacity: .7; }
.nav-drop:hover .nav-drop-link svg { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--border-light); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(60,64,67,0.16); padding: 8px; margin: 0; list-style: none;
  min-width: 240px; opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease;
  z-index: 60;
}
.nav-drop:hover .nav-dropdown, .nav-drop:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(2px);
}
.nav-dropdown li a {
  display: block; padding: 9px 14px; border-radius: 8px; font-size: 0.92rem; font-weight: 500;
  color: var(--text); white-space: nowrap;
}
.nav-dropdown li a:hover { background: #F1F3F4; color: var(--brand-primary-deep); }
.nav-phone {
  font-weight: 700; font-size: 0.92rem; color: var(--text); text-decoration: none;
  white-space: nowrap; padding: 6px 10px; border-radius: 8px;
}
.nav-phone:hover { background: #F1F3F4; color: var(--brand-primary-deep); }
.mob-phone {
  display: block; text-align: center; margin-top: 12px; font-weight: 700; color: var(--text);
  text-decoration: none; font-size: 1.05rem;
}
.mob-sub { padding-left: 18px; font-size: 0.9rem; color: var(--text-muted); }
@media (max-width: 900px) { .nav-phone { display: none; } }

/* ---------------------------------------------------------------- results slider */
.results-slider { position: relative; margin-top: 10px; }
.rs-viewport {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none; border-radius: 18px;
}
.rs-viewport::-webkit-scrollbar { display: none; }
.rs-slide { flex: 0 0 100%; scroll-snap-align: center; min-width: 100%; }
.rs-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: 18px;
  padding: 30px 34px 26px; box-shadow: 0 2px 10px rgba(60,64,67,0.05);
  display: flex; flex-direction: column; gap: 18px; min-height: 380px;
}
.rs-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.rs-head h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
.rs-period { font-size: 0.85rem; color: var(--text-muted); }
.rs-chip {
  flex-shrink: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--brand-primary-deep); background: #F0EAFB; border-radius: 999px; padding: 5px 12px;
}
.rs-chart { background: #FAFAFA; border-radius: 12px; padding: 12px 8px 4px; }
.rs-chart svg { width: 100%; height: auto; display: block; }
.rs-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rs-num { display: flex; flex-direction: column; gap: 2px; }
.rs-num strong { font-size: 1.55rem; font-weight: 700; letter-spacing: -0.02em; }
.rs-num span { font-size: 0.8rem; color: var(--text-muted); line-height: 1.35; }
.rs-caption { font-size: 0.92rem; color: var(--text-2); max-width: 640px; margin: 0; }
.rs-source { font-size: 0.76rem; color: var(--text-muted); margin: 0; }
.rs-btn {
  position: absolute; top: 42%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-light);
  background: #fff; color: var(--text); cursor: pointer; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 4px 14px rgba(60,64,67,0.14);
  transition: opacity .15s ease, box-shadow .15s ease;
}
.rs-btn:hover { box-shadow: 0 6px 18px rgba(60,64,67,0.22); color: var(--brand-primary-deep); }
.rs-btn:disabled { opacity: 0.35; cursor: default; }
.rs-prev { left: -14px; }
.rs-next { right: -14px; }
.rs-dots { text-align: center; margin-top: 16px; }
.rs-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 999px;
  background: #DADCE0; margin: 0 4px; cursor: pointer; transition: all .2s ease;
}
.rs-dot.active { background: var(--brand-primary-deep); width: 22px; }
@media (max-width: 860px) {
  .rs-card { padding: 22px 20px 20px; min-height: 0; }
  .rs-nums { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rs-btn { display: none; }
  .rs-chart { max-height: 150px; }
  .rs-chart svg { max-height: 140px; }
}
.cta-phone-line { margin-top: 14px; font-size: 0.95rem; color: #BDC1C6; }
.cta-phone-line a { color: #fff; font-weight: 700; text-decoration: none; }
.cta-phone-line a:hover { text-decoration: underline; }
.nav-phone-btn { white-space: nowrap; }
@media (max-width: 1080px) { .nav-phone-btn { display: none; } }
/* slider chart height guard: donut/square svgs must not stretch to full width */
.rs-chart svg[width="200"] { width: 200px !important; height: 200px !important; }
.rs-chart { display: flex; justify-content: center; }
.rs-chart svg:not([width]) { flex: 1; min-width: 0; }
@media (max-width: 860px) {
  .rs-chart svg:not([width]) { max-height: 150px; }
  .rs-chart svg[width="200"] { width: 150px !important; height: 150px !important; }
}

/* blog post layout (2026-09) */
.post-hero { padding: 44px 0 8px; }
.post-back { display: inline-block; font-size: 0.85rem; color: var(--text-muted); text-decoration: none; margin-bottom: 14px; }
.post-back:hover { color: var(--brand-primary-deep); }
.post-meta { font-size: 0.85rem; color: var(--text-muted); margin: 12px 0 0; }
.post-answer { background: var(--surface-tint); border-left: 4px solid var(--brand-primary-deep); border-radius: 10px; padding: 18px 22px; margin: 0 0 26px; }
.post-answer p { color: var(--text); font-weight: 600; font-size: 1.03rem; margin: 0; line-height: 1.62; }
.blog-chart { background: var(--bg-2, #F8F9FA); border: 1px solid var(--border-light); border-radius: 12px; padding: 18px 14px 10px; margin: 22px 0; }
.blog-chart svg { width: 100%; height: auto; display: block; }
.blog-chart._donut svg { margin: 0 auto; }
.related-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 24px; }
.related-card h3 { margin: 0; font-size: 1.02rem; }
.related-card::after { content: '\2192'; color: var(--brand-primary-deep); font-weight: 700; font-size: 1.1rem; }

/* ===== BLOG CARDS (2026-09 redesign) ===== */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.blog-card {
  background: #fff; border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 26px 28px 22px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(60,64,67,.18);
  border-color: var(--border);
}
.blog-card h3 { font-size: 1.16rem; line-height: 1.35; margin: 14px 0 0; color: var(--text); }
.blog-card > p { color: var(--text-2); font-size: 0.95rem; line-height: 1.6; margin: 10px 0 0; }
.blog-featured { grid-column: 1 / -1; padding: 34px 36px 26px; }
.blog-featured h3 { font-size: 1.55rem; }
.blog-card-foot { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.blog-date { font-size: 0.84rem; color: var(--text-muted); }
.blog-read { font-size: 0.88rem; font-weight: 700; color: var(--brand-primary-deep); white-space: nowrap; }
.tag-muted { background: #F1F3F4; color: #5F6368; }
@media (max-width: 720px) { .blog-grid { grid-template-columns: 1fr; } }
