/* ============================================================
   Elys – Custom Design System
   Gradient fluid pastel visuals + Font normalization
============================================================ */

/* Disable preloader — stránky se načítají bez točícího se loaderu */
#preloader { display: none !important; }
.loader-section { display: none !important; }

/* CSS tokens */
:root {
  --elys-orange: #FF6A3A;
  --elys-orange-soft: #FF8F6A;
  --elys-peach: #FFE5D9;
  --elys-lavender: #EDE9FE;
  --elys-mint: #DCFCE7;
  --elys-sky: #DBEAFE;
  --elys-warm: #FEF3C7;
}

/* ============================================================
   FONT SYSTEM — Plus Jakarta Sans (headings) + DM Sans (body)
   Oba fonty jsou už importované v style.css přes Google Fonts
============================================================ */

/* Body — DM Sans, moderní humanistický sans-serif */
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Všechny nadpisy — Plus Jakarta Sans */
h1, h2, h3, h4, h5, h6,
.font-heading-sequelsans-romanbody h1,
.font-heading-sequelsans-romanbody h2,
.font-heading-sequelsans-romanbody h3,
.font-heading-sequelsans-romanbody h4,
.font-heading-sequelsans-romanbody h5,
.font-heading-sequelsans-romanbody h6,
.font-sequelsans-romanbody,
.section-title,
.section-title.font-sequelsans-romanbody,
.page-title,
.hero-area-3 .section-title,
.title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ============================================================
   TYPOGRAFICKÝ SYSTÉM — fluid clamp() škála
   Původní template měl 100–920px pro kondenzovaný Thunder font.
   Plus Jakarta Sans je normální šíře → potřebuje jinou škálu.
============================================================ */

/* ── 1. Page title banner (inner pages: "O nás", "Kontakt"…)
        Původně 495px Thunder — nyní čistý display heading */
.page-title-wrapper .page-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
  text-transform: none !important;
}

/* ── 2. Hlavní nadpisy sekcí (.section-title) — původně 100px */
.section-title {
  font-size: clamp(1.9rem, 3.8vw, 3.4rem) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
}

/* Varianta s modifikátorem .font-sequelsans-romanbody */
.section-title.font-sequelsans-romanbody {
  font-size: clamp(1.9rem, 3.8vw, 3.4rem) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
}

/* ── 3. Hero homepage (hero-area-3) — velký impact titulek */
.hero-area-3 .section-title,
.hero-area-3-inner .section-title {
  font-size: clamp(2.4rem, 5.5vw, 5rem) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.035em !important;
}

/* ── 4. Service detail hero (ai.html, automation.html…) */
.hero-area-service-details .section-title {
  font-size: clamp(2.2rem, 5vw, 4.5rem) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
}

/* ── 5. Dekorativní "100%" číslo ve funfact sekci — původně 580px
        Necháme velké pro efekt, ale rozumné */
.funfact-area-2 .section-content .year {
  font-size: clamp(5rem, 16vw, 14rem) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.05em !important;
  line-height: 0.9 !important;
}

/* ── 6. Approach sekce — nadpisy kroků */
.approach-box .title,
.approach-area-about-page .approach-box .title {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.015em !important;
}

/* ── 7. Feature box nadpisy */
.feature-box .title {
  font-size: clamp(1rem, 1.4vw, 1.25rem) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

/* ── 8. Service boxy (homepage) */
.service-box .title {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em !important;
}

/* ── 9. Blog nadpisy */
.blog .title,
.blogs-wrapper .blog .title {
  font-size: clamp(1rem, 1.5vw, 1.2rem) !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.01em !important;
}

/* ── 10. Tým — jméno člena */
.team-box .name, .team-box .name a {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
}

/* ── 11. Headings podle hierarchie (ostatní h1–h6) */
h1 { font-size: clamp(2rem, 4.5vw, 4rem) !important;   font-weight: 800 !important; }
h2 { font-size: clamp(1.6rem, 3vw, 2.8rem) !important;  font-weight: 700 !important; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem) !important; font-weight: 700 !important; }
h4 { font-size: clamp(1rem, 1.3vw, 1.15rem) !important; font-weight: 600 !important; }
h5, h6 { font-size: 1rem !important; font-weight: 600 !important; }

/* ── 12. Body text — přesná velikost pro čitelnost */
p, .text, li {
  font-size: 1rem !important;
  line-height: 1.75 !important;
}

/* Malé popisné texty */
.section-subtitle {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
}

/* ── 13. Navigace */
.main-menu ul li a, .menu ul li a,
nav a {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
}

/* ── 14. Tlačítka */
.rr-btn .text-one, .rr-btn .text-two,
.rr-btn-group .b,
.rr-btn-underline {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
}

/* ── 15. Formuláře — DM Sans */
input, textarea, select {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.95rem !important;
}

/* ── 16. Footer */
footer, .footer-area-2, .footer-area-inner-page {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.9rem !important;
}
.footer-widget-box .title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}

/* ── 17. Číselné statistiky */
.elys-stat-card .stat-number,
.value-box .number {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: clamp(2.4rem, 5vw, 3.4rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
}

/* ── FAQ / Accordion — oprava čitelnosti */
.accordion-button,
.faq-area .accordion-button,
.faq-area-faq-page .accordion-button,
.faq-area-service-details-page .accordion-button {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: clamp(1rem, 1.4vw, 1.15rem) !important;
  letter-spacing: -0.01em !important;
  line-height: 1.4 !important;
}
.accordion-body {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.95rem !important;
  line-height: 1.75 !important;
  letter-spacing: 0 !important;
}

/* Skryj decorative big-text elementy z template které nechceme */
.hero-area .big-text,
.footer__main-title,
.about-area-2 .year-since {
  display: none !important;
}

/* ── Logo v patičce — původně max-width 657px, zmenšeno na rozumnou velikost */
.footer-area .footer-logo,
.footer-area-inner-page .footer-logo,
.footer-top-inner .footer-logo {
  max-width: 110px !important;
}
.footer-area .footer-logo img,
.footer-area-inner-page .footer-logo img,
.footer-top-inner .footer-logo img {
  width: 110px !important;
  max-width: 110px !important;
  height: auto !important;
}

/* ---- Gradient blob backgrounds for sections missing images ---- */
.elys-gradient-visual {
  border-radius: 16px;
  overflow: hidden;
  min-height: 340px;
  position: relative;
  background: linear-gradient(135deg, #ffd6c2 0%, #ffeada 25%, #e8d8ff 60%, #c8e8ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.elys-gradient-visual::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(255,106,58,0.35) 0%, transparent 65%);
  border-radius: 50%;
  animation: elys-float 8s ease-in-out infinite;
}

.elys-gradient-visual::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 55%;
  height: 55%;
  background: radial-gradient(ellipse, rgba(168,139,250,0.3) 0%, transparent 65%);
  border-radius: 50%;
  animation: elys-float 10s ease-in-out infinite reverse;
}

@keyframes elys-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.04); }
}

/* Different gradient variants */
.elys-gradient-visual--orange {
  background: linear-gradient(135deg, #fff1ec 0%, #ffd6c2 40%, #ffe5cc 100%);
}
.elys-gradient-visual--purple {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 40%, #ddd6fe 100%);
}
.elys-gradient-visual--blue {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 40%, #bfdbfe 100%);
}
.elys-gradient-visual--mint {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 40%, #bbf7d0 100%);
}

/* Gradient icon dots */
.elys-icon-dot {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.elys-icon-dot--orange { background: linear-gradient(135deg, #FF6A3A, #FF9A6A); }
.elys-icon-dot--dark   { background: linear-gradient(135deg, #1a1a1a, #444); }
.elys-icon-dot--purple { background: linear-gradient(135deg, #7C3AED, #A78BFA); }
.elys-icon-dot--blue   { background: linear-gradient(135deg, #2563EB, #60A5FA); }

/* Value/stat cards */
.elys-stat-card {
  background: linear-gradient(145deg, #ffffff, #fff7f4);
  border: 1px solid rgba(255,106,58,0.14);
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.elys-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(255,106,58,0.12);
}
.elys-stat-card .stat-number {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--elys-orange);
  margin-bottom: 12px;
  font-family: inherit;
}
.elys-stat-card .stat-label {
  font-size: .9rem;
  color: #555;
  line-height: 1.55;
}

/* Value card */
.elys-value-card {
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid #eee;
  height: 100%;
  transition: border-color .25s, box-shadow .25s;
}
.elys-value-card:hover {
  border-color: rgba(255,106,58,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

/* Team bio card */
.elys-team-card {
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  transition: box-shadow .25s;
}
.elys-team-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.elys-team-card .card-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: linear-gradient(135deg, #f0ebe3, #e8e0d8);
}
.elys-team-card .card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.elys-team-card:hover .card-photo img {
  transform: scale(1.04);
}
.elys-team-card .card-body-custom {
  padding: 28px 24px 26px;
}
.elys-team-card .card-tag {
  display: inline-flex;
  background: #f3f3f3;
  border-radius: 4px;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .07em;
  color: #555;
  padding: 3px 8px;
  margin-bottom: 6px;
  margin-right: 4px;
  text-transform: uppercase;
}

/* Testimonial card */
.elys-testimonial-card {
  background: #f8f8f8;
  border-radius: 14px;
  padding: 32px 28px;
  height: 100%;
}
.elys-testimonial-card .quote-text {
  font-size: .97rem;
  line-height: 1.75;
  color: #444;
  margin-bottom: 24px;
  font-style: italic;
}
.elys-testimonial-card .quote-author {
  font-weight: 700;
  font-size: .9rem;
  color: #111;
}
.elys-testimonial-card .quote-role {
  font-size: .82rem;
  color: #888;
}

/* Section label */
.elys-section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--elys-orange);
  margin-bottom: 16px;
  display: block;
}

/* Divider line */
.elys-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 64px 0;
}

/* CTA strip */
.elys-cta-strip {
  background: #000;
  border-radius: 14px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

/* Reduce heading weight for subheadings to create hierarchy */
.elys-body-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}
.elys-body-text + .elys-body-text {
  margin-top: 16px;
}

/* Floating gradient orb — decorative */
.elys-orb {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}
.elys-orb--orange {
  background: radial-gradient(circle, #FF6A3A 0%, transparent 70%);
  width: 320px;
  height: 320px;
}
.elys-orb--purple {
  background: radial-gradient(circle, #A78BFA 0%, transparent 70%);
  width: 260px;
  height: 260px;
}
