/* HorizonFinder – styly pro nové stránky (ladí s Elementor šablonou webu) */
:root {
  --hf-dark: #362A3F;
  --hf-night: #221C27;
  --hf-purple: #A83DFF;
  --hf-purple-soft: #D098F6;
  --hf-orange: #FFB53D;
  --hf-green: #3DFF86;
  --hf-green-soft: #9BFAB9;
  --hf-cream: #FDFAF7;
  --hf-line: #EEE8F2;
}

.hf-page { font-family: "DM Sans", Sans-serif; color: var(--hf-dark); background: var(--hf-cream); }
.hf-page * { box-sizing: border-box; }
.hf-page p { font-size: 18px; line-height: 1.6; margin: 0 0 16px; }
.hf-page h1, .hf-page h2, .hf-page h3 { font-family: "DM Sans", Sans-serif; color: var(--hf-dark); font-weight: 600; margin: 0; }
.hf-page .hf-p { color: var(--hf-purple); }
.hf-page a { color: var(--hf-purple); }

.hf-section { padding: 100px 20px; }
.hf-wrap { max-width: 1140px; margin: 0 auto; }
.hf-narrow { max-width: 820px; margin: 0 auto; }
.hf-center { text-align: center; }

/* Nadpisy sekcí */
.hf-h2 { font-size: 42px; line-height: 1.2; margin-bottom: 18px !important; }
.hf-lead { font-size: 20px !important; }
.hf-intro { max-width: 760px; margin: 0 auto 50px; text-align: center; }

/* Tlačítka */
.hf-btn {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--hf-green-soft); color: var(--hf-dark) !important;
  font-size: 18px; font-weight: 500; line-height: 1.2;
  padding: 13px 24px; border-radius: 3px; text-decoration: none !important;
  transition: background .2s;
}
.hf-btn:hover { background: var(--hf-green); }
.hf-btn--purple { background: var(--hf-purple); color: var(--hf-night) !important; }
.hf-btn--purple:hover { background: var(--hf-purple-soft); }
.hf-btn--light { background: #fff; }
.hf-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Hero */
.hf-hero { padding: 120px 20px 100px; }
.hf-hero .hf-wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: center; }
.hf-hero h1 { font-size: 52px; line-height: 1.12; margin-bottom: 18px; }
.hf-hero .hf-sub { font-size: 30px; line-height: 1.25; font-weight: 600; margin-bottom: 26px; }
.hf-hero .hf-strong { font-weight: 700; }

.hf-portrait { background: #fff; padding: 18px 18px 24px; }
.hf-portrait .hf-photo {
  aspect-ratio: 4 / 5; width: 100%;
  background: linear-gradient(160deg, #EBD7FB 0%, #F6EFFB 60%, #fff 100%);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hf-portrait .hf-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hf-portrait .hf-photo .hf-initials { font-size: 84px; font-weight: 600; color: var(--hf-purple); opacity: .55; }
.hf-portrait .hf-name { font-size: 24px; font-weight: 600; margin: 18px 0 6px; }
.hf-portrait .hf-exp { font-size: 16px !important; line-height: 1.5 !important; margin: 0 !important; }

/* Tmavý pruh */
.hf-dark { background: var(--hf-night); color: var(--hf-cream); }
.hf-dark h2, .hf-dark h3 { color: var(--hf-cream); }
.hf-dark p { color: var(--hf-cream); }
.hf-dark .hf-strongline { font-weight: 700; }

/* Karty */
.hf-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.hf-cards--3 { grid-template-columns: repeat(3, 1fr); gap: 36px; }
.hf-card { background: #fff; padding: 30px; }
.hf-card .hf-star { width: 34px; height: 34px; display: block; margin-bottom: 10px; }
.hf-card h3 { font-size: 28px; line-height: 1.2; margin-bottom: 18px; }
.hf-card .hf-kicker { color: var(--hf-purple); font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.hf-card p, .hf-card li { font-size: 17px; line-height: 1.55; }
.hf-card ul { margin: 0 0 16px; padding-left: 20px; }
.hf-card li { margin-bottom: 6px; }
.hf-card .hf-result { font-weight: 700; }
.hf-card .hf-logo { height: 46px; width: auto; max-width: 220px; object-fit: contain; display: block; margin-bottom: 22px; }
.hf-card .hf-btn { margin-top: 8px; }
.hf-note { margin-top: 50px; text-align: center; font-weight: 700; font-size: 20px !important; }

/* Spolupráce – seznam */
.hf-coop { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 56px; }
.hf-coop div { border-top: 3px solid var(--hf-purple); padding-top: 18px; }
.hf-coop h3 { font-size: 23px; margin-bottom: 10px; }
.hf-coop p { font-size: 17px; }

/* FAQ */
.hf-faq details { background: #fff; padding: 22px 28px; margin-bottom: 14px; }
.hf-faq summary { font-size: 20px; font-weight: 600; cursor: pointer; list-style: none; position: relative; padding-right: 36px; }
.hf-faq summary::-webkit-details-marker { display: none; }
.hf-faq summary::after { content: "+"; position: absolute; right: 0; top: -4px; font-size: 28px; color: var(--hf-purple); }
.hf-faq details[open] summary::after { content: "–"; }
.hf-faq details p { margin: 14px 0 0; font-size: 17px; }

/* Kontakt */
.hf-contact { text-align: center; }
.hf-contact .hf-box { background: #fff; color: var(--hf-dark); max-width: 760px; margin: 40px auto 0; padding: 44px 30px; }
.hf-contact .hf-box p { color: var(--hf-dark); }
.hf-contact .hf-btns { justify-content: center; margin-top: 10px; }
.hf-me { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 30px; text-align: left; }
.hf-me .hf-avatar { width: 64px; height: 64px; border-radius: 50%; background: #EBD7FB; color: var(--hf-purple); font-weight: 600; font-size: 22px; display: flex; align-items: center; justify-content: center; overflow: hidden; flex: none; }
.hf-me .hf-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hf-me strong { display: block; font-size: 19px; }
.hf-me span { font-size: 16px; }
.hf-me a { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
.hf-me a img { width: 18px; height: 18px; }

/* Drobečková navigace */
.hf-crumbs { font-size: 14px; margin-bottom: 26px; color: #726874; }
.hf-crumbs a { color: #726874; }

@media (max-width: 1024px) {
  .hf-hero .hf-wrap { grid-template-columns: 1fr; gap: 40px; }
  .hf-portrait { max-width: 380px; }
  .hf-cards, .hf-cards--3, .hf-coop { grid-template-columns: 1fr; gap: 30px; }
  .hf-hero h1 { font-size: 42px; }
  .hf-h2 { font-size: 34px; }
}
@media (max-width: 767px) {
  .hf-section { padding: 64px 18px; }
  .hf-hero { padding: 70px 18px 60px; }
  .hf-hero h1 { font-size: 34px; }
  .hf-hero .hf-sub { font-size: 23px; }
  .hf-h2 { font-size: 29px; }
  .hf-card { padding: 24px; }
  .hf-card h3 { font-size: 24px; }
  .hf-page p { font-size: 17px; }
}

/* doplňky: štítky, kroky, seznamy, případové studie */
.hf-eyebrow { font-size: 15px !important; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--hf-purple); margin-bottom: 14px !important; }
.hf-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px !important; }
.hf-tags span { background: #F3E8FD; color: var(--hf-dark); font-size: 14px; font-weight: 500; padding: 4px 10px; border-radius: 3px; }
.hf-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.hf-steps li { counter-increment: s; position: relative; background: #fff; padding: 20px 24px 20px 74px; margin-bottom: 12px; font-size: 18px; line-height: 1.5; }
.hf-steps li::before { content: counter(s); position: absolute; left: 22px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--hf-purple); color: #fff; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.hf-list { list-style: none; padding: 0; margin: 0; }
.hf-list li { background: #fff; padding: 16px 22px; margin-bottom: 10px; font-size: 18px; line-height: 1.45; }
.hf-portrait--logo { display: flex; flex-direction: column; justify-content: center; padding: 40px 30px; }
.hf-portrait--logo .hf-bigimg { width: 100%; max-width: 300px; height: auto; margin-bottom: 10px; }
.hf-photo--sq { aspect-ratio: 1 / 1 !important; }
.hf-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.hf-case-card { background: #fff; padding: 30px; display: flex; flex-direction: column; }
.hf-case-card .hf-logo { height: 44px; width: auto; max-width: 200px; object-fit: contain; object-position: left; margin-bottom: 20px; }
.hf-case-card h3 { font-size: 24px; line-height: 1.25; margin-bottom: 14px; }
.hf-case-card p { font-size: 17px; }
.hf-case-card .hf-btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 1024px) { .hf-cases { grid-template-columns: 1fr; } }

/* úvodní stránka */
.elementor-widget-heading h2.hf-h1size { font-size: 2.5rem; }
.hf-home-cases { padding: 70px 20px 90px; }
.hf-home-cases .hf-intro { margin-bottom: 44px; }
.hf-case-card .hf-kicker { color: var(--hf-purple); font-size: 16px !important; font-weight: 600; margin-bottom: 6px !important; }
.hf-case-card h3 a { color: var(--hf-dark) !important; text-decoration: none; }
.hf-case-card h3 a:hover { color: var(--hf-purple) !important; }
.hf-case-card .hf-btn { font-size: 16px; padding: 11px 18px; }
img.hf-about-photo { max-width: 460px !important; height: auto; display: block; }
@media (max-width: 767px) {
  .hf-home-cases { padding: 50px 20px 60px; }
  .hf-h2 { font-size: 32px; }
  img.hf-about-photo { max-width: 100% !important; }
}
.hf-home-cases .hf-wrap { max-width: 1080px; }
.elementor-7 .elementor-widget-text-editor a { color: #A83DFF; }
.hf-card h3 a { color: var(--hf-dark) !important; text-decoration: none; }
.hf-card h3 a:hover { color: var(--hf-purple) !important; }
.hf-cards--links .hf-card h3 { font-size: 22px; margin-bottom: 12px; }
.hf-dark a { color: var(--hf-purple-soft) !important; }
.hf-dark .hf-btn { color: var(--hf-dark) !important; }
.hf-steps--dark li { background: #2E2635; color: var(--hf-cream); }
.hf-list a { font-weight: 500; }
.hf-cases--one { display: block; max-width: 760px; margin: 0 auto; }
.hf-cases--one .hf-case-card { padding: 36px 40px; }
.hf-dark .hf-box a:not(.hf-btn) { color: var(--hf-purple) !important; }


/* menší horní mezera v úvodních sekcích (60 % původní), mimo homepage */
.hf-hero { padding-top: 72px; }
@media (max-width: 767px) { .hf-hero { padding-top: 42px; } }
@media (min-width: 1025px) {
  .elementor-section.elementor-element-e826ce0 { padding-top: 70px !important; padding-bottom: 113px !important; }
  .elementor-section.elementor-element-e826ce0 > .elementor-container { min-height: 0 !important; }
  .elementor-section.elementor-element-9efee06 { padding-top: 94px !important; padding-bottom: 124px !important; }
  .elementor-section.elementor-element-9efee06 > .elementor-container { min-height: 0 !important; }
  .elementor-section.elementor-element-10f8246b { padding-top: 83px !important; padding-bottom: 162px !important; }
  .elementor-section.elementor-element-10f8246b > .elementor-container { min-height: 0 !important; }
  .elementor-section.elementor-element-45340099 { padding-top: 49px !important; padding-bottom: 113px !important; }
  .elementor-section.elementor-element-45340099 > .elementor-container { min-height: 0 !important; }
  .elementor-section.elementor-element-3fe4192 { padding-top: 102px !important; padding-bottom: 136px !important; }
  .elementor-section.elementor-element-3fe4192 > .elementor-container { min-height: 0 !important; }
  .elementor-section.elementor-element-4e4bb27 { padding-top: 69px !important; padding-bottom: 185px !important; }
  .elementor-section.elementor-element-4e4bb27 > .elementor-container { min-height: 0 !important; }
  .elementor-section.elementor-element-817e808 { padding-top: 62px !important; padding-bottom: 107px !important; }
  .elementor-section.elementor-element-817e808 > .elementor-container { min-height: 0 !important; }
  /* Školení: fotka vlevo, text vpravo */
  .hf-hero--photo-left .hf-wrap { grid-template-columns: .7fr 1.3fr; }
  .hf-hero--photo-left .hf-portrait { order: -1; }
}
