/* ===================================================
   MANAPRO SERVIS — Redesign v2
   Osobní přístup · Marketing v popředí · 2025
   =================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.7; }

:root {
  /* Barvy */
  --indigo:       #4F46E5;
  --indigo-dark:  #3730A3;
  --indigo-light: #EEF2FF;
  --brick:        #C05621;
  --brick-light:  #FEF3EC;
  --dark:         #111827;
  --dark-mid:     #1F2937;
  --text:         #374151;
  --gray:         #6B7280;
  --gray-light:   #9CA3AF;
  --light:        #F9FAFB;
  --border:       #E5E7EB;
  --white:        #FFFFFF;

  /* Efekty */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow:       0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.12);
  --radius:       10px;
  --radius-lg:    18px;
  --radius-full:  999px;
  --nav-height:   96px;
  --t:            0.22s ease;

  /* Typografie */
  --font-head:    'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

/* --- Typografie --- */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--dark); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.05rem; }
p  { margin-bottom: 1rem; color: var(--text); }
p:last-child { margin-bottom: 0; }
a  { color: var(--indigo); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--indigo-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* --- Layout --- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* --- Tagy & nadpisy sekcí --- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--indigo);
  margin-bottom: 0.9rem;
}
.eyebrow-brick { color: var(--brick); }
.section-title { margin-bottom: 0.8rem; }
.section-sub { font-size: 1.08rem; color: var(--gray); max-width: 540px; }
.section-sub.wide { max-width: 680px; }
.sh { margin-bottom: 3rem; }
.sh.c { text-align: center; }
.sh.c .section-sub { margin: 0 auto; }

/* --- Tlačítka --- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.82rem 1.75rem;
  border-radius: 8px; border: 2px solid transparent;
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 600;
  cursor: pointer; transition: all var(--t); text-decoration: none;
  white-space: nowrap; line-height: 1;
}
.btn-lg { padding: 1rem 2.1rem; font-size: 1rem; }
.btn-indigo  { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.btn-indigo:hover { background: var(--indigo-dark); border-color: var(--indigo-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(79,70,229,0.35); }
.btn-ghost   { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.4); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); color: #fff; }
.btn-outline { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.btn-outline:hover { background: var(--indigo); color: #fff; }
.btn-brick  { background: var(--brick); color: #fff; border-color: var(--brick); }
.btn-brick:hover { background: #9C4219; border-color: #9C4219; color: #fff; transform: translateY(-1px); }
.btn-dark   { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-dark:hover { background: var(--dark-mid); color: #fff; }

/* ===========================================
   NAVIGATION
   =========================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  display: flex; align-items: center; padding-top: 10px;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, #4F46E5, #7C3AED);
  opacity: 0; transition: opacity 0.3s;
}
.nav.transparent { background: transparent; }
.nav.solid { background: #111827; box-shadow: 0 1px 0 rgba(255,255,255,0.08); }
.nav.solid::before { opacity: 1; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-logo { display: flex; align-items: baseline; gap: 0.45rem; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: #fff; text-decoration: none; letter-spacing: 0.04em; margin-right: 2.5rem; transition: color 0.2s; }
.nav-logo:hover { color: rgba(255,255,255,0.75); }
.nav-logo-sub { font-weight: 400; font-size: 1rem; color: rgba(255,255,255,0.4); letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: 0.15rem; }
.nav-links a { font-size: 0.88rem; font-weight: 500; padding: 0.45rem 0.85rem; border-radius: 6px; color: rgba(255,255,255,0.7); transition: all var(--t); }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-links a.active { color: #fff; background: rgba(255,255,255,0.12); }
.nav-right { display: flex; align-items: center; gap: 0.75rem; margin-left: 2rem; }
.nav-right .btn { padding: 0.48rem 1.1rem; font-size: 0.87rem; }
.btn-nav-outline { color: rgba(255,255,255,0.8) !important; border-color: rgba(255,255,255,0.25) !important; }
.btn-nav-outline:hover { color: #fff !important; border-color: rgba(255,255,255,0.55) !important; background: transparent !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; transition: all var(--t); border-radius: 2px; }

/* ===========================================
   HERO — Homepage
   =========================================== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0F0C29 0%, #1A1A4E 50%, #24243E 100%);
}
.hero-bg-pattern {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,70,229,0.35) 0%, transparent 70%);
  top: -100px; right: -100px; pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding-top: var(--nav-height); max-width: 680px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full); padding: 0.4rem 1rem;
  font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.9);
  margin-bottom: 2rem; backdrop-filter: blur(8px);
}
.hero-badge-dot { width: 7px; height: 7px; background: #4ADE80; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 { color: #fff; margin-bottom: 1.5rem; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
.hero h1 span { color: #818CF8; }
.hero .lead { color: rgba(255,255,255,0.72); font-size: 1.12rem; margin-bottom: 2.5rem; max-width: 500px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }
.hero-scroll { display: flex; align-items: center; gap: 2rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; }
.trust-item { font-size: 0.83rem; color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 0.45rem; }
.trust-item strong { color: rgba(255,255,255,0.85); }

/* ===========================================
   PAGE HERO (inner pages)
   =========================================== */
.page-hero {
  background: linear-gradient(135deg, #0F0C29 0%, #1A1A4E 100%);
  padding: calc(var(--nav-height) + 56px) 0 60px;
  position: relative; overflow: hidden;
}
.page-hero-pattern { position: absolute; inset: 0; opacity: 0.04; background-image: radial-gradient(circle, #fff 1px, transparent 1px); background-size: 32px 32px; }
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 0.65rem; }
.page-hero .lead { color: rgba(255,255,255,0.65); font-size: 1.05rem; max-width: 520px; }
.breadcrumb { display: flex; gap: 0.45rem; align-items: center; font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,0.4); }
.breadcrumb a:hover { color: rgba(255,255,255,0.7); }
.breadcrumb span { opacity: 0.4; }

/* Brick variant page hero */
.page-hero-brick { background: linear-gradient(135deg, #1C0A00 0%, #3D1A00 60%, #2D1200 100%); }

/* ===========================================
   SERVICE CARDS (marketing)
   =========================================== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.svc-card {
  padding: 2rem; border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  transition: all var(--t); position: relative; overflow: hidden;
  background: var(--white); flex: 1;
}
.svc-card:hover { border-color: var(--indigo); box-shadow: var(--shadow); transform: translateY(-3px); }
.svc-card:hover .svc-icon { background: var(--indigo); color: #fff; }
.svc-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--indigo-light); color: var(--indigo);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.25rem;
  transition: all var(--t);
}
.svc-card h3 { font-family: var(--font-body); font-size: 1.1rem; margin-bottom: 0.6rem; }
.svc-card p { font-size: 0.91rem; color: var(--gray); }
.svc-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 4px; margin-top: 0.75rem; background: var(--indigo-light); color: var(--indigo-dark); }

/* ===========================================
   PROCESS STEPS
   =========================================== */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; position: relative; }
.process-step { text-align: center; }
.process-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--indigo); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 800; margin: 0 auto 1.25rem;
  font-family: var(--font-head);
}
.process-step h4 { margin-bottom: 0.5rem; }
.process-step p { font-size: 0.9rem; color: var(--gray); }

/* ===========================================
   TWO-COL
   =========================================== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.two-col.flip { direction: rtl; }
.two-col.flip > * { direction: ltr; }

/* ===========================================
   FEATURE LIST (checkmarks)
   =========================================== */
.feat-list { display: flex; flex-direction: column; gap: 0.85rem; margin: 1.5rem 0 2rem; }
.feat-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.feat-check { width: 22px; height: 22px; background: var(--indigo-light); color: var(--indigo); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; flex-shrink: 0; margin-top: 0.1rem; font-weight: 700; }
.feat-item p { font-size: 0.93rem; margin: 0; }

/* Brick variant checkmarks */
.feat-check-brick { background: var(--brick-light); color: var(--brick); }

/* ===========================================
   PRODUCT CARDS (Elastolith)
   =========================================== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; }
.product-card { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1.5px solid var(--border); transition: all var(--t); }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #D1C4B5; }
.product-img { aspect-ratio: 4/3; overflow: hidden; background: var(--light); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-info { padding: 0.85rem 1rem 1rem; }
.product-name { font-weight: 700; font-size: 0.97rem; margin-bottom: 0.2rem; color: var(--dark); }
.product-dim { font-size: 0.77rem; color: var(--gray-light); margin: 0; }
.product-badge { display: inline-block; font-size: 0.68rem; font-weight: 700; padding: 0.18rem 0.55rem; border-radius: 4px; margin-top: 0.45rem; background: var(--brick-light); color: var(--brick); }

/* ===========================================
   BENEFIT CARDS (Elastolith)
   =========================================== */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.benefit-card { padding: 1.6rem; border-radius: var(--radius-lg); background: var(--brick-light); transition: all var(--t); }
.benefit-card:hover { background: #FDE8D8; transform: translateY(-2px); }
.benefit-icon { font-size: 1.75rem; margin-bottom: 0.9rem; }
.benefit-card h4 { font-size: 1rem; margin-bottom: 0.35rem; }
.benefit-card p { font-size: 0.88rem; color: var(--gray); margin: 0; }

/* ===========================================
   CTA SECTION
   =========================================== */
.cta-section { background: linear-gradient(135deg, #0F0C29 0%, #1A1A4E 100%); text-align: center; }
.cta-section h2 { color: #fff; margin-bottom: 0.85rem; }
.cta-section .lead { color: rgba(255,255,255,0.65); font-size: 1.05rem; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===========================================
   CONTACT
   =========================================== */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem; }
.ci-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.75rem; }
.ci-icon { width: 44px; height: 44px; background: var(--indigo-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.ci-item h4 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray); margin-bottom: 0.2rem; }
.ci-item p, .ci-item a { font-size: 0.97rem; font-weight: 500; margin: 0; color: var(--dark); }
.ci-item a:hover { color: var(--indigo); }
.form-group { margin-bottom: 1.15rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--dark-mid); margin-bottom: 0.4rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 0.78rem 1rem;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: var(--font-body); font-size: 0.93rem; color: var(--dark);
  background: var(--white); transition: border-color var(--t); outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success { display: none; padding: 1.1rem; background: #ECFDF5; border-radius: 8px; color: #065F46; font-weight: 600; text-align: center; margin-top: 0.75rem; border: 1px solid #A7F3D0; }

/* ===========================================
   FOOTER
   =========================================== */
footer { background: var(--dark); color: rgba(255,255,255,0.6); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-logo { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: #fff; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.9rem; }
.footer-logo .logo-dot { background: var(--indigo); }
.footer-brand p { font-size: 0.87rem; color: rgba(255,255,255,0.45); max-width: 260px; }
.footer-col h5 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.9); margin-bottom: 1.1rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { font-size: 0.87rem; color: rgba(255,255,255,0.5); transition: color var(--t); }
.footer-col ul li a:hover { color: var(--indigo); }
.footer-contact { font-size: 0.87rem; color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; }
.footer-contact a { color: rgba(255,255,255,0.5); }
.footer-contact a:hover { color: var(--indigo); }
.footer-bottom { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.07); display: flex; justify-content: space-between; align-items: center; font-size: 0.79rem; flex-wrap: wrap; gap: 0.5rem; }
.footer-meta { font-size: 0.77rem; color: rgba(255,255,255,0.25); margin-top: 1.25rem; line-height: 1.7; }

/* ===========================================
   MISC
   =========================================== */
.divider { height: 1px; background: var(--border); margin: 2.5rem 0; }
.img-r { border-radius: var(--radius-lg); }
.img-s { box-shadow: var(--shadow-lg); }
.highlight { color: var(--indigo); }
.text-center { text-align: center; }
.chip { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.77rem; font-weight: 700; padding: 0.28rem 0.8rem; border-radius: var(--radius-full); background: var(--indigo-light); color: var(--indigo-dark); }
.chip-brick { background: var(--brick-light); color: var(--brick); }
.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.25rem 0; }

/* Elastolith mini banner */
.elasto-banner {
  background: linear-gradient(135deg, var(--brick) 0%, #9C4219 100%);
  border-radius: var(--radius-lg); padding: 2.5rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; color: #fff;
}
.elasto-banner h3 { color: #fff; font-size: 1.4rem; margin-bottom: 0.35rem; }
.elasto-banner p { color: rgba(255,255,255,0.75); margin: 0; font-size: 0.95rem; }

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 960px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col.flip { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .elasto-banner { padding: 2rem; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .nav-links, .nav-right .btn-outline, .nav-right .btn-dark { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid-2 { grid-template-columns: 1fr; }
}
.nav-links.open {
  display: flex !important; flex-direction: column;
  position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0;
  background: var(--white); padding: 1.5rem;
  box-shadow: var(--shadow-lg); z-index: 999; gap: 0.2rem;
}
.nav-links.open a { color: var(--dark-mid) !important; font-size: 1.05rem; padding: 0.75rem 1rem; }
.nav-links.open a:hover, .nav-links.open a.active { color: var(--indigo) !important; background: var(--indigo-light); }
