/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Vlastná podradená téma pre úpravy štýlov a funkcií.
Author: Váš Tím
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

/* ==========================================================================
   Vlastné CSS štýly
   ========================================================================== */

   

/* Rozšíri iba stránku konceptu s ID 783 */
body.page-id-783 #content,
body.page-id-783 .site-content,
body.page-id-783 .site-content > .ast-container,
body.page-id-783 .site-content .ast-container {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.page-id-783 #primary,
body.page-id-783 .site-main,
body.page-id-783 .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
  flex: 0 0 100% !important;
}

/* Prehľad služieb – koncept stránky Služby */
.eh-service-hub {
  --eh-blue: #0759b5;
  --eh-dark: #052447;
  --eh-ink: #102b49;
  --eh-muted: #5e7185;
  --eh-line: #d8e5f0;
  width: 100%;
  padding: 76px max(24px, calc((100% - 1400px) / 2)) 88px;
  color: var(--eh-ink);
  background: #f4f8fc;
  line-height: 1.65;
}

.eh-service-hub *,
.eh-service-hub *::before,
.eh-service-hub *::after {
  box-sizing: border-box;
}

.eh-service-hub__inner {
  width: min(100%, 1400px);
  margin: 0 auto;
}

.eh-service-hub__intro {
  max-width: 760px;
  margin-bottom: 34px;
}

.eh-service-hub__eyebrow {
  color: var(--eh-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.eh-service-hub__intro h1 {
  margin: 10px 0 12px;
  color: var(--eh-dark);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.15;
}

.eh-service-hub__intro p {
  margin: 0;
  color: var(--eh-muted);
  font-size: 17px;
}

.eh-service-hub__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.eh-service-card {
  position: relative;
  padding: 27px 25px 25px;
  border: 1px solid var(--eh-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(5, 36, 71, 0.05);
}

.eh-service-card--featured {
  grid-column: 1 / -1;
  padding: 32px;
  border-color: #0d5eb5;
  color: #fff;
  background: linear-gradient(120deg, #052447, #0969bf);
  box-shadow: 0 14px 34px rgba(5, 36, 71, 0.16);
}

.eh-service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.eh-service-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 19px;
  border-radius: 50%;
  color: #fff;
  background: var(--eh-blue);
  font-size: 25px;
  font-weight: 700;
}

.eh-service-card--featured .eh-service-card__icon {
  color: var(--eh-blue);
  background: #fff;
}

.eh-service-card__badge {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 30px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.eh-service-card h2 {
  margin: 0 0 9px;
  color: var(--eh-dark);
  font-size: 21px;
  line-height: 1.3;
}

.eh-service-card p {
  margin: 0 0 16px;
  color: var(--eh-muted);
  font-size: 15px;
}

.eh-service-card--featured h2 {
  color: #fff;
  font-size: clamp(25px, 3vw, 34px);
}

.eh-service-card--featured p {
  max-width: 850px;
  color: #e1effb;
}

.eh-service-card__partner {
  font-weight: 600;
}

.eh-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 3px;
  color: var(--eh-blue);
  font-weight: 700;
  text-decoration: none;
}

.eh-service-card--featured .eh-service-card__link {
  color: #fff;
}

.eh-service-card__link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .eh-service-hub__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eh-service-card--featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .eh-service-hub {
    padding: 48px 18px 58px;
  }

  .eh-service-hub__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .eh-service-card,
  .eh-service-card--featured {
    grid-column: auto;
    padding: 23px 20px;
  }
}

/* Podstránka inteligentnej domácnosti */
.eh-smart-page {
  --eh-smart-blue: #0759b5;
  --eh-smart-dark: #052447;
  --eh-smart-ink: #102b49;
  --eh-smart-muted: #5e7185;
  --eh-smart-line: #d8e5f0;
  width: 100%;
  padding: 64px 24px 80px;
  color: var(--eh-smart-ink);
  background: #f4f8fc;
  font-family: inherit;
  line-height: 1.65;
}

.eh-smart-page *,
.eh-smart-page *::before,
.eh-smart-page *::after {
  box-sizing: border-box;
}

.eh-smart-inner {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.eh-smart-hero {
  padding: clamp(30px, 6vw, 72px);
  border: 1px solid #dbeaf6;
  border-radius: 18px;
  background: linear-gradient(120deg, #fff 0%, #eaf5fd 58%, #d5ebfa 100%);
  box-shadow: 0 14px 36px rgba(5, 36, 71, 0.07);
}

.eh-smart-eyebrow {
  margin: 0 0 12px;
  color: var(--eh-smart-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.eh-smart-eyebrow span {
  padding: 0 5px;
}

.eh-smart-hero h1 {
  max-width: 850px;
  margin: 0 0 18px;
  color: var(--eh-smart-dark);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.eh-smart-lead {
  max-width: 780px;
  margin: 0;
  color: #344d66;
  font-size: clamp(17px, 2vw, 20px);
}

.eh-smart-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 28px;
}

.eh-smart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 7px;
  color: #fff !important;
  background: var(--eh-smart-blue);
  font-weight: 700;
  text-decoration: none !important;
}

.eh-smart-button:hover {
  background: #03478f;
}

.eh-smart-text-link {
  color: var(--eh-smart-blue);
  font-weight: 700;
  text-decoration: none !important;
}

.eh-smart-text-link:hover {
  text-decoration: underline !important;
}

.eh-smart-partner-note {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin-top: 36px;
  padding: 13px 16px;
  border: 1px solid #d8e5f0;
  border-radius: 10px;
  color: var(--eh-smart-ink);
  background: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.eh-smart-partner-icon {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: var(--eh-smart-blue);
  font-size: 22px;
}

.eh-smart-section {
  padding: 76px 0;
}

.eh-smart-section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.eh-smart-section-heading h2,
.eh-smart-how h2,
.eh-smart-cta h2 {
  margin: 0 0 12px;
  color: var(--eh-smart-dark);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.18;
}

.eh-smart-section-heading > p:last-child {
  margin: 0;
  color: var(--eh-smart-muted);
  font-size: 17px;
}

.eh-smart-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.eh-smart-card {
  padding: 24px;
  border: 1px solid var(--eh-smart-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(5, 36, 71, 0.04);
}

.eh-smart-card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 17px;
  border-radius: 50%;
  color: #fff;
  background: var(--eh-smart-blue);
  font-size: 23px;
}

.eh-smart-card h3 {
  margin: 0 0 8px;
  color: var(--eh-smart-dark);
  font-size: 19px;
  line-height: 1.3;
}

.eh-smart-card p {
  margin: 0;
  color: var(--eh-smart-muted);
  font-size: 15px;
}

.eh-smart-how {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 48px;
  padding: clamp(26px, 5vw, 52px);
  border-radius: 16px;
  background: #e9f3fb;
}

.eh-smart-how-copy p {
  margin: 0 0 14px;
  color: #465f77;
}

.eh-smart-pills {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.eh-smart-pills span {
  padding: 8px 13px;
  border: 1px solid #c8dced;
  border-radius: 30px;
  color: var(--eh-smart-dark);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
}

.eh-smart-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 28px;
  padding: clamp(26px, 5vw, 48px);
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(110deg, #064d98, #0759b5);
}

.eh-smart-cta .eh-smart-eyebrow {
  color: #c5e5ff;
}

.eh-smart-cta h2 {
  max-width: 760px;
  color: #fff;
}

.eh-smart-cta p:last-child {
  margin: 0;
  color: #e4f2ff;
}

.eh-smart-button-light {
  flex: 0 0 auto;
  color: var(--eh-smart-blue) !important;
  background: #fff;
}

.eh-smart-button-light:hover {
  background: #e8f4ff;
}

@media (max-width: 850px) {
  .eh-smart-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eh-smart-how {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .eh-smart-pills {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .eh-smart-page {
    padding: 28px 16px 48px;
  }

  .eh-smart-hero {
    padding: 28px 22px;
    border-radius: 13px;
  }

  .eh-smart-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .eh-smart-section {
    padding: 50px 0;
  }

  .eh-smart-how {
    padding: 25px 21px;
  }
	
  .eh-smart-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 22px;
  }
}


	/* AI stránka: technické pozadie úvodnej časti */
.eh-smart-hero {
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(
      90deg,
      rgba(5, 36, 71, 0.94) 0%,
      rgba(5, 36, 71, 0.80) 56%,
      rgba(5, 36, 71, 0.54) 100%
    ),
    url("https://www.e-happy.sk/wp-content/uploads/2026/03/pexels-photo-8386440-8386440.jpg")
      center 42% / cover no-repeat;
}

.eh-smart-hero .eh-smart-eyebrow {
  color: #c5e5ff;
}

.eh-smart-hero h1 {
  color: #ffffff;
}

.eh-smart-hero .eh-smart-lead {
  color: #e8f4ff;
}

.eh-smart-hero .eh-smart-text-link {
  color: #ffffff;
}


/* Technická hlavička iba na stránkach nového konceptu */
body.page-id-783 #masthead .ast-primary-header-bar,
body.page-id-822 #masthead .ast-primary-header-bar,
body.page-id-826 #masthead .ast-primary-header-bar,
body.page-id-838 #masthead .ast-primary-header-bar,
body.page-id-783 #ast-mobile-header .ast-primary-header-bar,
body.page-id-822 #ast-mobile-header .ast-primary-header-bar,
body.page-id-826 #ast-mobile-header .ast-primary-header-bar,
body.page-id-838 #ast-mobile-header .ast-primary-header-bar {
  background:
    linear-gradient(rgba(5, 36, 71, 0.86), rgba(5, 36, 71, 0.86)),
    url("https://www.e-happy.sk/wp-content/uploads/2026/03/ga5c7b4b7f9eb09b9342086d1b9db6cdbecb318af5d9074a06506a3bd9202b92632a3b701ff7d99de2dbf542ad1c650f68179bd7344e76cdb49c5816509d24a6a_1280-1288717.jpg")
      center / cover no-repeat !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
body.page-id-838 #masthead .ast-primary-header-bar .ast-builder-grid-row,
body.page-id-838 #ast-mobile-header .ast-primary-header-bar .ast-builder-grid-row {
  background: transparent !important;
}
/* Odkazy menu – iba na stránkach nového webu */
body:is(.page-id-783, .page-id-822, .page-id-826, .page-id-838) #ast-desktop-header .main-header-menu .menu-link,
body:is(.page-id-783, .page-id-822, .page-id-826, .page-id-838) #ast-mobile-header .main-header-menu .menu-link {
  color: #fff !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

body:is(.page-id-783, .page-id-822, .page-id-826, .page-id-838) #ast-desktop-header .main-header-menu .menu-link:hover,
body:is(.page-id-783, .page-id-822, .page-id-826, .page-id-838) #ast-mobile-header .main-header-menu .menu-link:hover {
  color: #a9dcff !important;
}

/* Zruší štýl na vonkajšom odkaze tlačidla */
body:is(.page-id-783, .page-id-822, .page-id-826, .page-id-838) #ast-desktop-header .ast-header-button-1 a,
body:is(.page-id-783, .page-id-822, .page-id-826, .page-id-838) #ast-mobile-header .ast-header-button-1 a {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Upravený vzhľad samotného tlačidla */
body:is(.page-id-783, .page-id-822, .page-id-826, .page-id-838) #ast-desktop-header .ast-header-button-1 .ast-custom-button,
body:is(.page-id-783, .page-id-822, .page-id-826, .page-id-838) #ast-mobile-header .ast-header-button-1 .ast-custom-button {
  padding: 13px 21px !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 7px !important;
  color: #fff !important;
  background: #0759b5 !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  transition: background 0.2s ease, transform 0.2s ease;
}

body:is(.page-id-783, .page-id-822, .page-id-826, .page-id-838) #ast-desktop-header .ast-header-button-1 a:hover .ast-custom-button,
body:is(.page-id-783, .page-id-822, .page-id-826, .page-id-838) #ast-mobile-header .ast-header-button-1 a:hover .ast-custom-button {
  color: #fff !important;
  background: #03478f !important;
  transform: translateY(-1px);
}

/* CSS pre samostatnú stránku Fotovoltika. Všetky pravidlá sú ohraničené triedou eh-solar-page. */
.eh-solar-page{--solar-blue:#0759b5;--solar-dark:#052447;--solar-ink:#102b49;--solar-muted:#5e7185;--solar-pale:#eef6fc;--solar-line:#d8e5f0;color:var(--solar-ink);font-family:inherit;line-height:1.65;background:#fff}
.eh-solar-page *{box-sizing:border-box}
.eh-solar-page a{text-decoration:none}
.eh-solar-hero,.eh-solar-intro,.eh-solar-benefits,.eh-solar-process,.eh-solar-cta{padding-left:max(24px,calc((100% - 1200px)/2));padding-right:max(24px,calc((100% - 1200px)/2))}
.eh-solar-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);align-items:center;gap:clamp(32px,6vw,80px);padding-top:76px;padding-bottom:76px;background:linear-gradient(120deg,#f3f8fc,#d9ecfa)}
.eh-solar-eyebrow{display:inline-block;color:var(--solar-blue);font-size:12px;font-weight:800;letter-spacing:1.35px}
.eh-solar-hero h1{max-width:680px;margin:14px 0 18px;color:var(--solar-dark);font-size:clamp(38px,5vw,62px);line-height:1.08;letter-spacing:-1.6px}
.eh-solar-hero-copy>p{max-width:650px;color:#344d66;font-size:18px}
.eh-solar-actions{display:flex;align-items:center;flex-wrap:wrap;gap:22px;margin-top:28px}
.eh-solar-button{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:14px 21px;border-radius:7px;color:#fff!important;background:var(--solar-blue);font-weight:700;box-shadow:0 8px 20px #0759b533}
.eh-solar-button:hover{background:#03478f}
.eh-solar-text-link{color:var(--solar-blue);font-weight:700}
.eh-solar-proof{display:flex;flex-wrap:wrap;gap:12px 22px;margin-top:24px;color:#344d66;font-size:13px;font-weight:600}
.eh-solar-proof span:before{content:"✓";margin-right:7px;color:var(--solar-blue)}
.eh-solar-hero-image{position:relative;margin:0;min-height:320px}
.eh-solar-hero-image img{display:block;width:100%;height:360px;object-fit:cover;border-radius:14px;box-shadow:0 18px 45px #05244730;background:#c8e2f5}
.eh-solar-hero-image figcaption{position:absolute;right:16px;bottom:16px;display:grid;padding:12px 16px;border-radius:9px;background:#fff;box-shadow:0 8px 24px #05244725}
.eh-solar-hero-image figcaption span{color:var(--solar-muted);font-size:13px}
.eh-solar-intro{max-width:1248px;margin:auto;padding-top:78px;padding-bottom:28px}
.eh-solar-intro h2,.eh-solar-process h2,.eh-solar-cta h2{max-width:780px;margin:9px 0 12px;color:var(--solar-dark);font-size:clamp(30px,3.5vw,42px);line-height:1.18}
.eh-solar-intro p{max-width:850px;color:var(--solar-muted);font-size:17px}
.eh-solar-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding-top:24px;padding-bottom:78px}
.eh-solar-card{padding:25px;border:1px solid var(--solar-line);border-radius:12px;background:#fff;box-shadow:0 5px 18px #05244708}
.eh-solar-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;color:#fff;background:var(--solar-blue);font-size:24px}
.eh-solar-card h3{margin:17px 0 7px;color:var(--solar-dark);font-size:20px}
.eh-solar-card p{margin:0;color:var(--solar-muted);font-size:15px}
.eh-solar-process{display:grid;grid-template-columns:.8fr 1.2fr;gap:50px;padding-top:58px;padding-bottom:58px;background:var(--solar-pale)}
.eh-solar-process ol{display:grid;gap:18px;margin:0;padding:0;list-style:none;counter-reset:solar-step}
.eh-solar-process li{position:relative;padding-left:56px;counter-increment:solar-step}
.eh-solar-process li:before{position:absolute;left:0;top:0;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;content:counter(solar-step);color:#fff;background:var(--solar-blue);font-weight:800}
.eh-solar-process li strong,.eh-solar-process li span{display:block}
.eh-solar-process li strong{color:var(--solar-dark)}
.eh-solar-process li span{margin-top:3px;color:var(--solar-muted);font-size:14px}
.eh-solar-cta{display:flex;align-items:center;justify-content:space-between;gap:28px;padding-top:44px;padding-bottom:44px;color:#fff;background:var(--solar-blue)}
.eh-solar-cta .eh-solar-eyebrow{color:#c6e5ff}
.eh-solar-cta h2{margin-bottom:6px;color:#fff}
.eh-solar-cta p{margin:0;color:#e2f2ff}
.eh-solar-button-light{flex:0 0 auto;color:var(--solar-blue)!important;background:#fff;box-shadow:none}
.eh-solar-button-light:hover{background:#e8f4ff}
@media(max-width:800px){.eh-solar-hero{grid-template-columns:1fr;padding-top:48px;padding-bottom:48px}.eh-solar-hero-image,.eh-solar-hero-image img{min-height:250px;height:250px}.eh-solar-benefits{grid-template-columns:1fr;padding-bottom:52px}.eh-solar-process{grid-template-columns:1fr;gap:20px}.eh-solar-cta{align-items:flex-start;flex-direction:column}}


/* CSS pre stránku Elektroinštalácie a rozvádzače; pravidlá sa týkajú len .eh-install-page. */
.eh-install-page{--install-blue:#0759b5;--install-dark:#052447;--install-ink:#102b49;--install-muted:#5e7185;--install-pale:#eef6fc;--install-line:#d8e5f0;color:var(--install-ink);font-family:inherit;line-height:1.65;background:#fff}
.eh-install-page *{box-sizing:border-box}
.eh-install-page a{text-decoration:none}
.eh-install-hero,.eh-install-intro,.eh-install-cards,.eh-install-process,.eh-install-cta{padding-left:max(24px,calc((100% - 1200px)/2));padding-right:max(24px,calc((100% - 1200px)/2))}
.eh-install-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);align-items:center;gap:clamp(32px,6vw,80px);padding-top:76px;padding-bottom:76px;background:linear-gradient(120deg,#f3f8fc,#d9ecfa)}
.eh-install-eyebrow{display:inline-block;color:var(--install-blue);font-size:12px;font-weight:800;letter-spacing:1.35px}
.eh-install-hero h1{max-width:700px;margin:14px 0 18px;color:var(--install-dark);font-size:clamp(38px,5vw,62px);line-height:1.08;letter-spacing:-1.6px}
.eh-install-hero-copy>p{max-width:650px;color:#344d66;font-size:18px}
.eh-install-actions{display:flex;align-items:center;flex-wrap:wrap;gap:22px;margin-top:28px}
.eh-install-button{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:14px 21px;border-radius:7px;color:#fff!important;background:var(--install-blue);font-weight:700;box-shadow:0 8px 20px #0759b533}
.eh-install-button:hover{background:#03478f}
.eh-install-text-link{color:var(--install-blue);font-weight:700}
.eh-install-proof{display:flex;flex-wrap:wrap;gap:12px 22px;margin-top:24px;color:#344d66;font-size:13px;font-weight:600}
.eh-install-proof span:before{content:"✓";margin-right:7px;color:var(--install-blue)}
.eh-install-hero-image{position:relative;margin:0;min-height:320px}
.eh-install-hero-image img{display:block;width:100%;height:360px;object-fit:cover;border-radius:14px;box-shadow:0 18px 45px #05244730;background:#c8e2f5}
.eh-install-hero-image figcaption{position:absolute;right:16px;bottom:16px;display:grid;padding:12px 16px;border-radius:9px;background:#fff;box-shadow:0 8px 24px #05244725}
.eh-install-hero-image figcaption span{color:var(--install-muted);font-size:13px}
.eh-install-intro{max-width:1248px;margin:auto;padding-top:78px;padding-bottom:28px}
.eh-install-intro h2,.eh-install-process h2,.eh-install-cta h2{max-width:780px;margin:9px 0 12px;color:var(--install-dark);font-size:clamp(30px,3.5vw,42px);line-height:1.18}
.eh-install-intro p,.eh-install-process>div>p{max-width:850px;color:var(--install-muted);font-size:17px}
.eh-install-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding-top:24px;padding-bottom:78px}
.eh-install-card{padding:25px;border:1px solid var(--install-line);border-radius:12px;background:#fff;box-shadow:0 5px 18px #05244708}
.eh-install-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;color:#fff;background:var(--install-blue);font-size:24px}
.eh-install-card h3{margin:17px 0 7px;color:var(--install-dark);font-size:20px}
.eh-install-card p{margin:0;color:var(--install-muted);font-size:15px}
.eh-install-process{display:grid;grid-template-columns:.8fr 1.2fr;gap:50px;padding-top:58px;padding-bottom:58px;background:var(--install-pale)}
.eh-install-process ol{display:grid;gap:18px;margin:0;padding:0;list-style:none;counter-reset:install-step}
.eh-install-process li{position:relative;padding-left:56px;counter-increment:install-step}
.eh-install-process li:before{position:absolute;left:0;top:0;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;content:counter(install-step);color:#fff;background:var(--install-blue);font-weight:800}
.eh-install-process li strong,.eh-install-process li span{display:block}
.eh-install-process li strong{color:var(--install-dark)}
.eh-install-process li span{margin-top:3px;color:var(--install-muted);font-size:14px}
.eh-install-cta{display:flex;align-items:center;justify-content:space-between;gap:28px;padding-top:44px;padding-bottom:44px;color:#fff;background:var(--install-blue)}
.eh-install-cta .eh-install-eyebrow{color:#c6e5ff}
.eh-install-cta h2{margin-bottom:6px;color:#fff}
.eh-install-cta p{margin:0;color:#e2f2ff}
.eh-install-button-light{flex:0 0 auto;color:var(--install-blue)!important;background:#fff;box-shadow:none}
.eh-install-button-light:hover{background:#e8f4ff}
@media(max-width:800px){.eh-install-hero{grid-template-columns:1fr;padding-top:48px;padding-bottom:48px}.eh-install-hero-image,.eh-install-hero-image img{min-height:250px;height:250px}.eh-install-cards{grid-template-columns:1fr;padding-bottom:52px}.eh-install-process{grid-template-columns:1fr;gap:20px}.eh-install-cta{align-items:flex-start;flex-direction:column}}


/* Hlavička kategórie Elektroinštalácie – stránka 864 */
body.page-id-864 #masthead .ast-primary-header-bar,
body.page-id-864 #ast-mobile-header .ast-primary-header-bar {
  background:
    linear-gradient(rgba(5, 36, 71, 0.86), rgba(5, 36, 71, 0.86)),
    url("https://www.e-happy.sk/wp-content/uploads/2026/03/ga5c7b4b7f9eb09b9342086d1b9db6cdbecb318af5d9074a06506a3bd9202b92632a3b701ff7d99de2dbf542ad1c650f68179bd7344e76cdb49c5816509d24a6a_1280-1288717.jpg")
      center / cover no-repeat !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

body.page-id-864 #masthead .ast-primary-header-bar .ast-builder-grid-row,
body.page-id-864 #ast-mobile-header .ast-primary-header-bar .ast-builder-grid-row {
  background: transparent !important;
}

/* Odkazy v menu */
body.page-id-864 #ast-desktop-header .main-header-menu .menu-link,
body.page-id-864 #ast-mobile-header .main-header-menu .menu-link {
  color: #fff !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
}

body.page-id-864 #ast-desktop-header .main-header-menu .menu-link:hover,
body.page-id-864 #ast-mobile-header .main-header-menu .menu-link:hover {
  color: #a9dcff !important;
}

/* Tlačidlo v hlavičke */
body.page-id-864 #ast-desktop-header .ast-header-button-1 a,
body.page-id-864 #ast-mobile-header .ast-header-button-1 a {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.page-id-864 #ast-desktop-header .ast-header-button-1 .ast-custom-button,
body.page-id-864 #ast-mobile-header .ast-header-button-1 .ast-custom-button {
  padding: 13px 21px !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 7px !important;
  color: #fff !important;
  background: #0759b5 !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

body.page-id-864 #ast-desktop-header .ast-header-button-1 a:hover .ast-custom-button,
body.page-id-864 #ast-mobile-header .ast-header-button-1 a:hover .ast-custom-button {
  color: #fff !important;
  background: #03478f !important;
}

/* CSS pre stránku Elektrické prípojky; pravidlá sa týkajú len .eh-connection-page. */
.eh-connection-page{--connection-blue:#0759b5;--connection-dark:#052447;--connection-ink:#102b49;--connection-muted:#5e7185;--connection-pale:#eef6fc;--connection-line:#d8e5f0;color:var(--connection-ink);font-family:inherit;line-height:1.65;background:#fff}
.eh-connection-page *{box-sizing:border-box}
.eh-connection-page a{text-decoration:none}
.eh-connection-hero,.eh-connection-intro,.eh-connection-cards,.eh-connection-process,.eh-connection-cta{padding-left:max(24px,calc((100% - 1200px)/2));padding-right:max(24px,calc((100% - 1200px)/2))}
.eh-connection-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);align-items:center;gap:clamp(32px,6vw,80px);padding-top:76px;padding-bottom:76px;background:linear-gradient(120deg,#f3f8fc,#d9ecfa)}
.eh-connection-eyebrow{display:inline-block;color:var(--connection-blue);font-size:12px;font-weight:800;letter-spacing:1.35px}
.eh-connection-hero h1{max-width:700px;margin:14px 0 18px;color:var(--connection-dark);font-size:clamp(38px,5vw,62px);line-height:1.08;letter-spacing:-1.6px}
.eh-connection-hero-copy>p{max-width:650px;color:#344d66;font-size:18px}
.eh-connection-actions{display:flex;align-items:center;flex-wrap:wrap;gap:22px;margin-top:28px}
.eh-connection-button{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:14px 21px;border-radius:7px;color:#fff!important;background:var(--connection-blue);font-weight:700;box-shadow:0 8px 20px #0759b533}
.eh-connection-button:hover{background:#03478f}
.eh-connection-text-link{color:var(--connection-blue);font-weight:700}
.eh-connection-proof{display:flex;flex-wrap:wrap;gap:12px 22px;margin-top:24px;color:#344d66;font-size:13px;font-weight:600}
.eh-connection-proof span:before{content:"✓";margin-right:7px;color:var(--connection-blue)}
.eh-connection-hero-image{position:relative;margin:0;min-height:320px}
.eh-connection-hero-image img{display:block;width:100%;height:360px;object-fit:cover;border-radius:14px;box-shadow:0 18px 45px #05244730;background:#c8e2f5}
.eh-connection-hero-image figcaption{position:absolute;right:16px;bottom:16px;display:grid;padding:12px 16px;border-radius:9px;background:#fff;box-shadow:0 8px 24px #05244725}
.eh-connection-hero-image figcaption span{color:var(--connection-muted);font-size:13px}
.eh-connection-intro{max-width:1248px;margin:auto;padding-top:78px;padding-bottom:28px}
.eh-connection-intro h2,.eh-connection-process h2,.eh-connection-cta h2{max-width:780px;margin:9px 0 12px;color:var(--connection-dark);font-size:clamp(30px,3.5vw,42px);line-height:1.18}
.eh-connection-intro p,.eh-connection-process>div>p{max-width:850px;color:var(--connection-muted);font-size:17px}
.eh-connection-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding-top:24px;padding-bottom:78px}
.eh-connection-card{padding:25px;border:1px solid var(--connection-line);border-radius:12px;background:#fff;box-shadow:0 5px 18px #05244708}
.eh-connection-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;color:#fff;background:var(--connection-blue);font-size:24px}
.eh-connection-card h3{margin:17px 0 7px;color:var(--connection-dark);font-size:20px}
.eh-connection-card p{margin:0;color:var(--connection-muted);font-size:15px}
.eh-connection-process{display:grid;grid-template-columns:.8fr 1.2fr;gap:50px;padding-top:58px;padding-bottom:58px;background:var(--connection-pale)}
.eh-connection-process ol{display:grid;gap:18px;margin:0;padding:0;list-style:none;counter-reset:connection-step}
.eh-connection-process li{position:relative;padding-left:56px;counter-increment:connection-step}
.eh-connection-process li:before{position:absolute;left:0;top:0;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;content:counter(connection-step);color:#fff;background:var(--connection-blue);font-weight:800}
.eh-connection-process li strong,.eh-connection-process li span{display:block}
.eh-connection-process li strong{color:var(--connection-dark)}
.eh-connection-process li span{margin-top:3px;color:var(--connection-muted);font-size:14px}
.eh-connection-cta{display:flex;align-items:center;justify-content:space-between;gap:28px;padding-top:44px;padding-bottom:44px;color:#fff;background:var(--connection-blue)}
.eh-connection-cta .eh-connection-eyebrow{color:#c6e5ff}
.eh-connection-cta h2{margin-bottom:6px;color:#fff}
.eh-connection-cta p{margin:0;color:#e2f2ff}
.eh-connection-button-light{flex:0 0 auto;color:var(--connection-blue)!important;background:#fff;box-shadow:none}
.eh-connection-button-light:hover{background:#e8f4ff}
@media(max-width:800px){.eh-connection-hero{grid-template-columns:1fr;padding-top:48px;padding-bottom:48px}.eh-connection-hero-image,.eh-connection-hero-image img{min-height:250px;height:250px}.eh-connection-cards{grid-template-columns:1fr;padding-bottom:52px}.eh-connection-process{grid-template-columns:1fr;gap:20px}.eh-connection-cta{align-items:flex-start;flex-direction:column}}


/* CSS pre stránku Projektovanie a dokumentácia elektro; pravidlá sa týkajú len .eh-design-page. */
.eh-design-page{--design-blue:#0759b5;--design-dark:#052447;--design-ink:#102b49;--design-muted:#5e7185;--design-pale:#eef6fc;--design-line:#d8e5f0;color:var(--design-ink);font-family:inherit;line-height:1.65;background:#fff}
.eh-design-page *{box-sizing:border-box}
.eh-design-page a{text-decoration:none}
.eh-design-hero,.eh-design-intro,.eh-design-cards,.eh-design-process,.eh-design-cta{padding-left:max(24px,calc((100% - 1200px)/2));padding-right:max(24px,calc((100% - 1200px)/2))}
.eh-design-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);align-items:center;gap:clamp(32px,6vw,80px);padding-top:76px;padding-bottom:76px;background:linear-gradient(120deg,#f3f8fc,#d9ecfa)}
.eh-design-eyebrow{display:inline-block;color:var(--design-blue);font-size:12px;font-weight:800;letter-spacing:1.35px}
.eh-design-hero h1{max-width:700px;margin:14px 0 18px;color:var(--design-dark);font-size:clamp(38px,5vw,62px);line-height:1.08;letter-spacing:-1.6px}
.eh-design-hero-copy>p{max-width:650px;color:#344d66;font-size:18px}
.eh-design-actions{display:flex;align-items:center;flex-wrap:wrap;gap:22px;margin-top:28px}
.eh-design-button{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:14px 21px;border-radius:7px;color:#fff!important;background:var(--design-blue);font-weight:700;box-shadow:0 8px 20px #0759b533}
.eh-design-button:hover{background:#03478f}
.eh-design-text-link{color:var(--design-blue);font-weight:700}
.eh-design-proof{display:flex;flex-wrap:wrap;gap:12px 22px;margin-top:24px;color:#344d66;font-size:13px;font-weight:600}
.eh-design-proof span:before{content:"✓";margin-right:7px;color:var(--design-blue)}
.eh-design-hero-image{position:relative;margin:0;min-height:320px}
.eh-design-hero-image img{display:block;width:100%;height:360px;object-fit:cover;border-radius:14px;box-shadow:0 18px 45px #05244730;background:#c8e2f5}
.eh-design-hero-image figcaption{position:absolute;right:16px;bottom:16px;display:grid;padding:12px 16px;border-radius:9px;background:#fff;box-shadow:0 8px 24px #05244725}
.eh-design-hero-image figcaption span{color:var(--design-muted);font-size:13px}
.eh-design-intro{max-width:1248px;margin:auto;padding-top:78px;padding-bottom:28px}
.eh-design-intro h2,.eh-design-process h2,.eh-design-cta h2{max-width:780px;margin:9px 0 12px;color:var(--design-dark);font-size:clamp(30px,3.5vw,42px);line-height:1.18}
.eh-design-intro p,.eh-design-process>div>p{max-width:850px;color:var(--design-muted);font-size:17px}
.eh-design-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding-top:24px;padding-bottom:78px}
.eh-design-card{padding:25px;border:1px solid var(--design-line);border-radius:12px;background:#fff;box-shadow:0 5px 18px #05244708}
.eh-design-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;color:#fff;background:var(--design-blue);font-size:24px}
.eh-design-card h3{margin:17px 0 7px;color:var(--design-dark);font-size:20px}
.eh-design-card p{margin:0;color:var(--design-muted);font-size:15px}
.eh-design-process{display:grid;grid-template-columns:.8fr 1.2fr;gap:50px;padding-top:58px;padding-bottom:58px;background:var(--design-pale)}
.eh-design-process ol{display:grid;gap:18px;margin:0;padding:0;list-style:none;counter-reset:design-step}
.eh-design-process li{position:relative;padding-left:56px;counter-increment:design-step}
.eh-design-process li:before{position:absolute;left:0;top:0;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;content:counter(design-step);color:#fff;background:var(--design-blue);font-weight:800}
.eh-design-process li strong,.eh-design-process li span{display:block}
.eh-design-process li strong{color:var(--design-dark)}
.eh-design-process li span{margin-top:3px;color:var(--design-muted);font-size:14px}
.eh-design-cta{display:flex;align-items:center;justify-content:space-between;gap:28px;padding-top:44px;padding-bottom:44px;color:#fff;background:var(--design-blue)}
.eh-design-cta .eh-design-eyebrow{color:#c6e5ff}
.eh-design-cta h2{margin-bottom:6px;color:#fff}
.eh-design-cta p{margin:0;color:#e2f2ff}
.eh-design-button-light{flex:0 0 auto;color:var(--design-blue)!important;background:#fff;box-shadow:none}
.eh-design-button-light:hover{background:#e8f4ff}
@media(max-width:800px){.eh-design-hero{grid-template-columns:1fr;padding-top:48px;padding-bottom:48px}.eh-design-hero-image,.eh-design-hero-image img{min-height:250px;height:250px}.eh-design-cards{grid-template-columns:1fr;padding-bottom:52px}.eh-design-process{grid-template-columns:1fr;gap:20px}.eh-design-cta{align-items:flex-start;flex-direction:column}}


/* Hlavička kategórie Elektroprojekty a dokumentácia – stránka 875 */
body.page-id-875 #masthead .ast-primary-header-bar,
body.page-id-875 #ast-mobile-header .ast-primary-header-bar {
  background:
    linear-gradient(rgba(5, 36, 71, 0.86), rgba(5, 36, 71, 0.86)),
    url("https://www.e-happy.sk/wp-content/uploads/2026/03/ga5c7b4b7f9eb09b9342086d1b9db6cdbecb318af5d9074a06506a3bd9202b92632a3b701ff7d99de2dbf542ad1c650f68179bd7344e76cdb49c5816509d24a6a_1280-1288717.jpg")
      center / cover no-repeat !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

body.page-id-875 #masthead .ast-primary-header-bar .ast-builder-grid-row,
body.page-id-875 #ast-mobile-header .ast-primary-header-bar .ast-builder-grid-row {
  background: transparent !important;
}

/* Odkazy v menu */
body.page-id-875 #ast-desktop-header .main-header-menu .menu-link,
body.page-id-875 #ast-mobile-header .main-header-menu .menu-link {
  color: #fff !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
}

body.page-id-875 #ast-desktop-header .main-header-menu .menu-link:hover,
body.page-id-875 #ast-mobile-header .main-header-menu .menu-link:hover {
  color: #a9dcff !important;
}

/* Tlačidlo v hlavičke */
body.page-id-875 #ast-desktop-header .ast-header-button-1 a,
body.page-id-875 #ast-mobile-header .ast-header-button-1 a {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.page-id-875 #ast-desktop-header .ast-header-button-1 .ast-custom-button,
body.page-id-875 #ast-mobile-header .ast-header-button-1 .ast-custom-button {
  padding: 13px 21px !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 7px !important;
  color: #fff !important;
  background: #0759b5 !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

body.page-id-875 #ast-desktop-header .ast-header-button-1 a:hover .ast-custom-button,
body.page-id-875 #ast-mobile-header .ast-header-button-1 a:hover .ast-custom-button {
  color: #fff !important;
  background: #03478f !important;
}


/* CSS pre stránku Ochrana pred bleskom a prepätím; pravidlá sa týkajú len .eh-protection-page. */
.eh-protection-page{--protection-blue:#0759b5;--protection-dark:#052447;--protection-ink:#102b49;--protection-muted:#5e7185;--protection-pale:#eef6fc;--protection-line:#d8e5f0;color:var(--protection-ink);font-family:inherit;line-height:1.65;background:#fff}
.eh-protection-page *{box-sizing:border-box}
.eh-protection-page a{text-decoration:none}
.eh-protection-hero,.eh-protection-intro,.eh-protection-cards,.eh-protection-process,.eh-protection-cta{padding-left:max(24px,calc((100% - 1200px)/2));padding-right:max(24px,calc((100% - 1200px)/2))}
.eh-protection-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);align-items:center;gap:clamp(32px,6vw,80px);padding-top:76px;padding-bottom:76px;background:linear-gradient(120deg,#f3f8fc,#d9ecfa)}
.eh-protection-eyebrow{display:inline-block;color:var(--protection-blue);font-size:12px;font-weight:800;letter-spacing:1.35px}
.eh-protection-hero h1{max-width:700px;margin:14px 0 18px;color:var(--protection-dark);font-size:clamp(38px,5vw,62px);line-height:1.08;letter-spacing:-1.6px}
.eh-protection-hero-copy>p{max-width:650px;color:#344d66;font-size:18px}
.eh-protection-actions{display:flex;align-items:center;flex-wrap:wrap;gap:22px;margin-top:28px}
.eh-protection-button{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:14px 21px;border-radius:7px;color:#fff!important;background:var(--protection-blue);font-weight:700;box-shadow:0 8px 20px #0759b533}
.eh-protection-button:hover{background:#03478f}
.eh-protection-text-link{color:var(--protection-blue);font-weight:700}
.eh-protection-proof{display:flex;flex-wrap:wrap;gap:12px 22px;margin-top:24px;color:#344d66;font-size:13px;font-weight:600}
.eh-protection-proof span:before{content:"✓";margin-right:7px;color:var(--protection-blue)}
.eh-protection-hero-image{position:relative;margin:0;min-height:320px}
.eh-protection-hero-image img{display:block;width:100%;height:360px;object-fit:cover;border-radius:14px;box-shadow:0 18px 45px #05244730;background:#c8e2f5}
.eh-protection-hero-image figcaption{position:absolute;right:16px;bottom:16px;display:grid;padding:12px 16px;border-radius:9px;background:#fff;box-shadow:0 8px 24px #05244725}
.eh-protection-hero-image figcaption span{color:var(--protection-muted);font-size:13px}
.eh-protection-intro{max-width:1248px;margin:auto;padding-top:78px;padding-bottom:28px}
.eh-protection-intro h2,.eh-protection-process h2,.eh-protection-cta h2{max-width:780px;margin:9px 0 12px;color:var(--protection-dark);font-size:clamp(30px,3.5vw,42px);line-height:1.18}
.eh-protection-intro p,.eh-protection-process>div>p{max-width:850px;color:var(--protection-muted);font-size:17px}
.eh-protection-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding-top:24px;padding-bottom:78px}
.eh-protection-card{padding:25px;border:1px solid var(--protection-line);border-radius:12px;background:#fff;box-shadow:0 5px 18px #05244708}
.eh-protection-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;color:#fff;background:var(--protection-blue);font-size:24px}
.eh-protection-card h3{margin:17px 0 7px;color:var(--protection-dark);font-size:20px}
.eh-protection-card p{margin:0;color:var(--protection-muted);font-size:15px}
.eh-protection-process{display:grid;grid-template-columns:.8fr 1.2fr;gap:50px;padding-top:58px;padding-bottom:58px;background:var(--protection-pale)}
.eh-protection-process ol{display:grid;gap:18px;margin:0;padding:0;list-style:none;counter-reset:protection-step}
.eh-protection-process li{position:relative;padding-left:56px;counter-increment:protection-step}
.eh-protection-process li:before{position:absolute;left:0;top:0;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;content:counter(protection-step);color:#fff;background:var(--protection-blue);font-weight:800}
.eh-protection-process li strong,.eh-protection-process li span{display:block}
.eh-protection-process li strong{color:var(--protection-dark)}
.eh-protection-process li span{margin-top:3px;color:var(--protection-muted);font-size:14px}
.eh-protection-cta{display:flex;align-items:center;justify-content:space-between;gap:28px;padding-top:44px;padding-bottom:44px;color:#fff;background:var(--protection-blue)}
.eh-protection-cta .eh-protection-eyebrow{color:#c6e5ff}
.eh-protection-cta h2{margin-bottom:6px;color:#fff}
.eh-protection-cta p{margin:0;color:#e2f2ff}
.eh-protection-button-light{flex:0 0 auto;color:var(--protection-blue)!important;background:#fff;box-shadow:none}
.eh-protection-button-light:hover{background:#e8f4ff}
@media(max-width:800px){.eh-protection-hero{grid-template-columns:1fr;padding-top:48px;padding-bottom:48px}.eh-protection-hero-image,.eh-protection-hero-image img{min-height:250px;height:250px}.eh-protection-cards{grid-template-columns:1fr;padding-bottom:52px}.eh-protection-process{grid-template-columns:1fr;gap:20px}.eh-protection-cta{align-items:flex-start;flex-direction:column}}


/* Hlavička kategórie Ochrana pred bleskom a prepätím – stránka 885 */
body.page-id-885 #masthead .ast-primary-header-bar,
body.page-id-885 #ast-mobile-header .ast-primary-header-bar {
  background:
    linear-gradient(rgba(5, 36, 71, 0.86), rgba(5, 36, 71, 0.86)),
    url("https://www.e-happy.sk/wp-content/uploads/2026/03/ga5c7b4b7f9eb09b9342086d1b9db6cdbecb318af5d9074a06506a3bd9202b92632a3b701ff7d99de2dbf542ad1c650f68179bd7344e76cdb49c5816509d24a6a_1280-1288717.jpg")
      center / cover no-repeat !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

body.page-id-885 #masthead .ast-primary-header-bar .ast-builder-grid-row,
body.page-id-885 #ast-mobile-header .ast-primary-header-bar .ast-builder-grid-row {
  background: transparent !important;
}

/* Odkazy v menu */
body.page-id-885 #ast-desktop-header .main-header-menu .menu-link,
body.page-id-885 #ast-mobile-header .main-header-menu .menu-link {
  color: #fff !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
}

body.page-id-885 #ast-desktop-header .main-header-menu .menu-link:hover,
body.page-id-885 #ast-mobile-header .main-header-menu .menu-link:hover {
  color: #a9dcff !important;
}

/* Tlačidlo v hlavičke */
body.page-id-885 #ast-desktop-header .ast-header-button-1 a,
body.page-id-885 #ast-mobile-header .ast-header-button-1 a {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.page-id-885 #ast-desktop-header .ast-header-button-1 .ast-custom-button,
body.page-id-885 #ast-mobile-header .ast-header-button-1 .ast-custom-button {
  padding: 13px 21px !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 7px !important;
  color: #fff !important;
  background: #0759b5 !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

body.page-id-885 #ast-desktop-header .ast-header-button-1 a:hover .ast-custom-button,
body.page-id-885 #ast-mobile-header .ast-header-button-1 a:hover .ast-custom-button {
  color: #fff !important;
  background: #03478f !important;
}


/* CSS pre stránku Revízie a merania; pravidlá sa týkajú len .eh-inspection-page. */
.eh-inspection-page{--inspection-blue:#0759b5;--inspection-dark:#052447;--inspection-ink:#102b49;--inspection-muted:#5e7185;--inspection-pale:#eef6fc;--inspection-line:#d8e5f0;color:var(--inspection-ink);font-family:inherit;line-height:1.65;background:#fff}
.eh-inspection-page *{box-sizing:border-box}
.eh-inspection-page a{text-decoration:none}
.eh-inspection-hero,.eh-inspection-intro,.eh-inspection-cards,.eh-inspection-process,.eh-inspection-cta{padding-left:max(24px,calc((100% - 1200px)/2));padding-right:max(24px,calc((100% - 1200px)/2))}
.eh-inspection-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);align-items:center;gap:clamp(32px,6vw,80px);padding-top:76px;padding-bottom:76px;background:linear-gradient(120deg,#f3f8fc,#d9ecfa)}
.eh-inspection-eyebrow{display:inline-block;color:var(--inspection-blue);font-size:12px;font-weight:800;letter-spacing:1.35px}
.eh-inspection-hero h1{max-width:700px;margin:14px 0 18px;color:var(--inspection-dark);font-size:clamp(38px,5vw,62px);line-height:1.08;letter-spacing:-1.6px}
.eh-inspection-hero-copy>p{max-width:650px;color:#344d66;font-size:18px}
.eh-inspection-actions{display:flex;align-items:center;flex-wrap:wrap;gap:22px;margin-top:28px}
.eh-inspection-button{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:14px 21px;border-radius:7px;color:#fff!important;background:var(--inspection-blue);font-weight:700;box-shadow:0 8px 20px #0759b533}
.eh-inspection-button:hover{background:#03478f}
.eh-inspection-text-link{color:var(--inspection-blue);font-weight:700}
.eh-inspection-proof{display:flex;flex-wrap:wrap;gap:12px 22px;margin-top:24px;color:#344d66;font-size:13px;font-weight:600}
.eh-inspection-proof span:before{content:"✓";margin-right:7px;color:var(--inspection-blue)}
.eh-inspection-hero-image{position:relative;margin:0;min-height:320px}
.eh-inspection-hero-image img{display:block;width:100%;height:360px;object-fit:cover;border-radius:14px;box-shadow:0 18px 45px #05244730;background:#c8e2f5}
.eh-inspection-hero-image figcaption{position:absolute;right:16px;bottom:16px;display:grid;padding:12px 16px;border-radius:9px;background:#fff;box-shadow:0 8px 24px #05244725}
.eh-inspection-hero-image figcaption span{color:var(--inspection-muted);font-size:13px}
.eh-inspection-intro{max-width:1248px;margin:auto;padding-top:78px;padding-bottom:28px}
.eh-inspection-intro h2,.eh-inspection-process h2,.eh-inspection-cta h2{max-width:780px;margin:9px 0 12px;color:var(--inspection-dark);font-size:clamp(30px,3.5vw,42px);line-height:1.18}
.eh-inspection-intro p,.eh-inspection-process>div>p{max-width:850px;color:var(--inspection-muted);font-size:17px}
.eh-inspection-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding-top:24px;padding-bottom:78px}
.eh-inspection-card{padding:25px;border:1px solid var(--inspection-line);border-radius:12px;background:#fff;box-shadow:0 5px 18px #05244708}
.eh-inspection-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;color:#fff;background:var(--inspection-blue);font-size:24px}
.eh-inspection-card h3{margin:17px 0 7px;color:var(--inspection-dark);font-size:20px}
.eh-inspection-card p{margin:0;color:var(--inspection-muted);font-size:15px}
.eh-inspection-process{display:grid;grid-template-columns:.8fr 1.2fr;gap:50px;padding-top:58px;padding-bottom:58px;background:var(--inspection-pale)}
.eh-inspection-process ol{display:grid;gap:18px;margin:0;padding:0;list-style:none;counter-reset:inspection-step}
.eh-inspection-process li{position:relative;padding-left:56px;counter-increment:inspection-step}
.eh-inspection-process li:before{position:absolute;left:0;top:0;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;content:counter(inspection-step);color:#fff;background:var(--inspection-blue);font-weight:800}
.eh-inspection-process li strong,.eh-inspection-process li span{display:block}
.eh-inspection-process li strong{color:var(--inspection-dark)}
.eh-inspection-process li span{margin-top:3px;color:var(--inspection-muted);font-size:14px}
.eh-inspection-cta{display:flex;align-items:center;justify-content:space-between;gap:28px;padding-top:44px;padding-bottom:44px;color:#fff;background:var(--inspection-blue)}
.eh-inspection-cta .eh-inspection-eyebrow{color:#c6e5ff}
.eh-inspection-cta h2{margin-bottom:6px;color:#fff}
.eh-inspection-cta p{margin:0;color:#e2f2ff}
.eh-inspection-button-light{flex:0 0 auto;color:var(--inspection-blue)!important;background:#fff;box-shadow:none}
.eh-inspection-button-light:hover{background:#e8f4ff}
@media(max-width:800px){.eh-inspection-hero{grid-template-columns:1fr;padding-top:48px;padding-bottom:48px}.eh-inspection-hero-image,.eh-inspection-hero-image img{min-height:250px;height:250px}.eh-inspection-cards{grid-template-columns:1fr;padding-bottom:52px}.eh-inspection-process{grid-template-columns:1fr;gap:20px}.eh-inspection-cta{align-items:flex-start;flex-direction:column}}

/* Hlavička kategórie Revízie a merania – stránka 894 */
body.page-id-894 #masthead .ast-primary-header-bar,
body.page-id-894 #ast-mobile-header .ast-primary-header-bar {
  background:
    linear-gradient(rgba(5, 36, 71, 0.86), rgba(5, 36, 71, 0.86)),
    url("https://www.e-happy.sk/wp-content/uploads/2026/03/ga5c7b4b7f9eb09b9342086d1b9db6cdbecb318af5d9074a06506a3bd9202b92632a3b701ff7d99de2dbf542ad1c650f68179bd7344e76cdb49c5816509d24a6a_1280-1288717.jpg")
      center / cover no-repeat !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

body.page-id-894 #masthead .ast-primary-header-bar .ast-builder-grid-row,
body.page-id-894 #ast-mobile-header .ast-primary-header-bar .ast-builder-grid-row {
  background: transparent !important;
}

/* Odkazy v menu */
body.page-id-894 #ast-desktop-header .main-header-menu .menu-link,
body.page-id-894 #ast-mobile-header .main-header-menu .menu-link {
  color: #fff !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
}

body.page-id-894 #ast-desktop-header .main-header-menu .menu-link:hover,
body.page-id-894 #ast-mobile-header .main-header-menu .menu-link:hover {
  color: #a9dcff !important;
}

/* Tlačidlo v hlavičke */
body.page-id-894 #ast-desktop-header .ast-header-button-1 a,
body.page-id-894 #ast-mobile-header .ast-header-button-1 a {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.page-id-894 #ast-desktop-header .ast-header-button-1 .ast-custom-button,
body.page-id-894 #ast-mobile-header .ast-header-button-1 .ast-custom-button {
  padding: 13px 21px !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 7px !important;
  color: #fff !important;
  background: #0759b5 !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

body.page-id-894 #ast-desktop-header .ast-header-button-1 a:hover .ast-custom-button,
body.page-id-894 #ast-mobile-header .ast-header-button-1 a:hover .ast-custom-button {
  color: #fff !important;
  background: #03478f !important;
}

/* Hlavička kategórie Elektrické prípojky – stránka 871 */
body.page-id-871 #masthead .ast-primary-header-bar,
body.page-id-871 #ast-mobile-header .ast-primary-header-bar {
  background:
    linear-gradient(rgba(5, 36, 71, 0.86), rgba(5, 36, 71, 0.86)),
    url("https://www.e-happy.sk/wp-content/uploads/2026/03/ga5c7b4b7f9eb09b9342086d1b9db6cdbecb318af5d9074a06506a3bd9202b92632a3b701ff7d99de2dbf542ad1c650f68179bd7344e76cdb49c5816509d24a6a_1280-1288717.jpg")
      center / cover no-repeat !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

body.page-id-871 #masthead .ast-primary-header-bar .ast-builder-grid-row,
body.page-id-871 #ast-mobile-header .ast-primary-header-bar .ast-builder-grid-row {
  background: transparent !important;
}

body.page-id-871 #ast-desktop-header .main-header-menu .menu-link,
body.page-id-871 #ast-mobile-header .main-header-menu .menu-link {
  color: #fff !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
}

body.page-id-871 #ast-desktop-header .main-header-menu .menu-link:hover,
body.page-id-871 #ast-mobile-header .main-header-menu .menu-link:hover {
  color: #a9dcff !important;
}

body.page-id-871 #ast-desktop-header .ast-header-button-1 a,
body.page-id-871 #ast-mobile-header .ast-header-button-1 a {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.page-id-871 #ast-desktop-header .ast-header-button-1 .ast-custom-button,
body.page-id-871 #ast-mobile-header .ast-header-button-1 .ast-custom-button {
  padding: 13px 21px !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 7px !important;
  color: #fff !important;
  background: #0759b5 !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

body.page-id-871 #ast-desktop-header .ast-header-button-1 a:hover .ast-custom-button,
body.page-id-871 #ast-mobile-header .ast-header-button-1 a:hover .ast-custom-button {
  color: #fff !important;
  background: #03478f !important;
}

/* Doplnkové a upravené štýly úvodnej stránky. Všetko je ohraničené .ehappy-page. Pridaj ich pod pôvodné CSS úvodnej stránky. */
.ehappy-page{position:relative;left:50%;width:100vw!important;max-width:100vw!important;margin-left:-50vw!important;color:#102b49;background:#fff;line-height:1.6}
.ehappy-page *{box-sizing:border-box}
.ehappy-page a{text-decoration:none}
.ehappy-page .eh-header{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:12px max(24px,calc((100% - 1400px)/2));color:#fff;background:linear-gradient(rgba(5,36,71,.88),rgba(5,36,71,.88)),url("https://www.e-happy.sk/wp-content/uploads/2026/03/ga5c7b4b7f9eb09b9342086d1b9db6cdbecb318af5d9074a06506a3bd9202b92632a3b701ff7d99de2dbf542ad1c650f68179bd7344e76cdb49c5816509d24a6a_1280-1288717.jpg") center/cover no-repeat;border-bottom:1px solid rgba(255,255,255,.16)}
.ehappy-page .eh-brand{display:inline-flex;align-items:center;gap:10px;color:#fff;text-decoration:none}
.ehappy-page .eh-brand-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;color:#0759b5;background:#fff;font-size:31px;font-weight:800;line-height:1}
.ehappy-page .eh-brand-name{font-size:21px;font-weight:800;letter-spacing:2px;line-height:1.1}
.ehappy-page .eh-brand-name small{display:block;font-size:10px;font-weight:500;letter-spacing:1px}
.ehappy-page .eh-nav{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin-left:auto}
.ehappy-page .eh-nav a{position:relative;z-index:0;display:inline-flex;align-items:center;padding:11px 14px;color:#fff;font-size:13px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;text-decoration:none;transition:color .22s ease,transform .22s ease}
.ehappy-page .eh-nav a:before{position:absolute;z-index:-1;inset:2px 4px;content:"";border:1px solid rgba(169,220,255,0);border-radius:6px;background:rgba(169,220,255,0);box-shadow:0 0 0 rgba(85,181,255,0);opacity:0;transform:scale(.78,.82);transition:transform .28s cubic-bezier(.2,.8,.2,1),opacity .18s ease,border-color .22s ease,background .22s ease,box-shadow .22s ease}
.ehappy-page .eh-nav a:hover,.ehappy-page .eh-nav a:focus-visible{color:#d5efff;transform:translateY(-1px)}
.ehappy-page .eh-nav a:hover:before,.ehappy-page .eh-nav a:focus-visible:before{border-color:rgba(169,220,255,.75);background:rgba(85,181,255,.12);box-shadow:0 5px 16px rgba(0,0,0,.15);opacity:1;transform:scale(1.08,1.08)}
.ehappy-page .eh-nav a:focus-visible,.ehappy-page .eh-header-cta:focus-visible{outline:2px solid #b9e2ff;outline-offset:4px}
.ehappy-page .eh-header-cta{display:inline-flex;align-items:center;gap:12px;padding:13px 19px;border:1px solid rgba(255,255,255,.35);border-radius:7px;color:#fff!important;background:#0759b5;font-size:13px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;box-shadow:0 6px 18px rgba(0,0,0,.18);transition:background .22s ease,color .22s ease,border-color .22s ease,transform .22s ease,box-shadow .22s ease}
.ehappy-page .eh-header-cta:hover{border-color:#b9e2ff;color:#052447!important;background:#d5efff;box-shadow:0 9px 22px rgba(0,0,0,.22);transform:translateY(-2px)}
.ehappy-page .eh-header-cta span{font-size:17px;transition:transform .22s ease}
.ehappy-page .eh-header-cta:hover span{transform:translateX(4px)}
.ehappy-page .eh-hero,.ehappy-page .eh-services,.ehappy-page .eh-about,.ehappy-page .eh-contact,.ehappy-page .eh-footer{padding-left:max(24px,calc((100% - 1400px)/2));padding-right:max(24px,calc((100% - 1400px)/2))}
.ehappy-page .eh-hero{min-height:490px;padding-top:58px;padding-bottom:58px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:50px;background:linear-gradient(115deg,#f4f9fd 0%,#e5f2fc 56%,#c8e2f5 100%)}
.ehappy-page .eh-eyebrow{display:inline-block;color:#0759b5;font-size:12px;font-weight:800;letter-spacing:1.4px}
.ehappy-page .eh-hero h1{margin:14px 0 18px;color:#052447;font-size:clamp(36px,4vw,56px);line-height:1.08;letter-spacing:-1.5px}
.ehappy-page .eh-hero h1 span{color:#0759b5}
.ehappy-page .eh-hero-copy>p{max-width:560px;color:#344d66;font-size:17px}
.ehappy-page .eh-actions{display:flex;align-items:center;flex-wrap:wrap;gap:22px;margin-top:26px}
.ehappy-page .eh-button{display:inline-flex;align-items:center;gap:14px;padding:13px 20px;border-radius:7px;color:#fff!important;background:#0759b5;font-weight:700;box-shadow:0 8px 20px #0759b533}
.ehappy-page .eh-button:hover{background:#03478f}
.ehappy-page .eh-text-link{color:#0759b5;font-weight:700}
.ehappy-page .eh-proof{display:flex;flex-wrap:wrap;gap:18px;margin-top:25px;color:#344d66;font-size:13px;font-weight:600}
.ehappy-page .eh-hero-image{position:relative;min-height:340px}
.ehappy-page .eh-hero-image img{display:block;width:100%;height:340px;object-fit:cover;border-radius:12px;box-shadow:0 18px 45px #05244730}
.ehappy-page .eh-image-label{position:absolute;right:16px;bottom:16px;display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:9px;background:#fff;box-shadow:0 8px 24px #05244725}
.ehappy-page .eh-label-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;color:#fff;background:#0759b5;font-size:25px}
.ehappy-page .eh-image-label strong,.ehappy-page .eh-image-label small{display:block}
.ehappy-page .eh-image-label small{color:#5e7185}
.ehappy-page .eh-services{padding-top:76px;padding-bottom:78px}
.ehappy-page .eh-section-heading{max-width:800px;margin-bottom:28px}
.ehappy-page .eh-section-heading h2,.ehappy-page .eh-about h2,.ehappy-page .eh-contact h2{margin:8px 0 10px;color:#052447;font-size:clamp(28px,3vw,38px);line-height:1.18}
.ehappy-page .eh-section-heading p,.ehappy-page .eh-about p{color:#5e7185}
.ehappy-page .eh-featured-service{display:block;margin:0 0 18px;padding:30px 34px;border:1px solid #1a70c6;border-radius:12px;color:#fff;background:linear-gradient(110deg,#052447 0%,#0759b5 100%);box-shadow:0 12px 30px #05244720;transition:transform .2s ease,box-shadow .2s ease}
.ehappy-page .eh-featured-service:hover{color:#fff;transform:translateY(-2px);box-shadow:0 16px 36px #05244730}
.ehappy-page .eh-featured-top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.ehappy-page .eh-featured-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:#0759b5;background:#fff;font-size:24px}
.ehappy-page .eh-featured-badge{padding:6px 11px;border:1px solid rgba(255,255,255,.4);border-radius:30px;color:#d8efff;font-size:10px;font-weight:800;letter-spacing:1px}
.ehappy-page .eh-featured-service h3{margin:18px 0 8px;color:#fff;font-size:clamp(22px,2.4vw,30px);line-height:1.2}
.ehappy-page .eh-featured-service p{max-width:900px;margin:0;color:#e5f2ff;font-size:15px}
.ehappy-page .eh-featured-partner{display:block;margin-top:13px;color:#c6e5ff;font-size:13px;font-weight:600}
.ehappy-page .eh-featured-link{display:inline-flex;gap:10px;margin-top:17px;color:#fff;font-size:14px;font-weight:800}
.ehappy-page .eh-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ehappy-page .eh-card{position:relative;min-height:220px;padding:22px 22px 20px 76px;border:1px solid #d8e5f0;border-radius:10px;background:#fff;box-shadow:0 5px 18px #05244708;transition:transform .2s ease,box-shadow .2s ease}
.ehappy-page .eh-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px #05244712}
.ehappy-page .eh-card-icon{position:absolute;left:20px;top:22px;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;color:#fff;background:#0759b5;font-size:22px;font-weight:800}
.ehappy-page .eh-card h3{margin:0 0 6px;color:#052447;font-size:18px;line-height:1.3}
.ehappy-page .eh-card p{margin:0 0 13px;color:#5e7185;font-size:14px}
.ehappy-page .eh-card a{color:#0759b5;font-size:14px;font-weight:700}
.ehappy-page .eh-card a:hover{color:#03478f}
.ehappy-page .eh-about{padding-top:48px;padding-bottom:48px;display:grid;grid-template-columns:1fr 1fr;gap:10px 48px;background:#eef6fc}
.ehappy-page .eh-about p{margin:6px 0}
.ehappy-page .eh-values{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}
.ehappy-page .eh-values span{padding:8px 13px;border:1px solid #c8dced;border-radius:30px;color:#052447;background:#fff;font-size:13px;font-weight:700}
.ehappy-page .eh-contact{padding-top:42px;padding-bottom:42px;display:flex;align-items:center;justify-content:space-between;gap:28px;color:#fff;background:#0759b5}
.ehappy-page .eh-contact .eh-eyebrow{color:#bfe4ff}
.ehappy-page .eh-contact h2{max-width:650px;margin-bottom:5px;color:#fff}
.ehappy-page .eh-contact p{margin:0;color:#e2f2ff}
.ehappy-page .eh-button-light{flex:0 0 auto;color:#0759b5!important;background:#fff;box-shadow:none}
.ehappy-page .eh-button-light:hover{background:#e8f4ff}
.ehappy-page .eh-footer{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:18px;color:#d7e8f8;background:#052447;font-size:13px}
.ehappy-page .eh-brand-footer .eh-brand-icon{width:34px;height:34px;font-size:25px}
.ehappy-page .eh-brand-footer .eh-brand-name{font-size:17px}
.ehappy-page .eh-footer>a:last-child{color:#fff}
@media(max-width:900px){.ehappy-page .eh-header{flex-wrap:wrap}.ehappy-page .eh-nav{order:3;width:100%;justify-content:center;margin:0}.ehappy-page .eh-hero{grid-template-columns:1fr;gap:28px}.ehappy-page .eh-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.ehappy-page .eh-header{padding-top:14px;padding-bottom:14px}.ehappy-page .eh-nav{gap:8px 17px}.ehappy-page .eh-nav a{font-size:12px}.ehappy-page .eh-header-cta{padding:10px 12px;font-size:11px}.ehappy-page .eh-hero{padding-top:42px;padding-bottom:42px}.ehappy-page .eh-hero-image,.ehappy-page .eh-hero-image img{min-height:250px;height:250px}.ehappy-page .eh-service-grid{grid-template-columns:1fr}.ehappy-page .eh-card{min-height:unset}.ehappy-page .eh-about{grid-template-columns:1fr;gap:8px}.ehappy-page .eh-values{grid-column:auto}.ehappy-page .eh-contact{align-items:flex-start;flex-direction:column}.ehhappy-page .eh-footer{padding-top:18px;padding-bottom:18px;align-items:flex-start;flex-direction:column}.ehappy-page .eh-featured-service{padding:24px}.ehhappy-page .eh-featured-badge{font-size:9px}}

/* Aktualizovaná značka a úvodná sekcia s prelínaním textu do fotografie AI domácnosti. */
.ehappy-page .eh-brand-logo{display:block;width:clamp(170px,17vw,230px);height:auto;filter:brightness(0) invert(1)}
.ehappy-page .eh-brand-footer .eh-brand-logo{width:190px}
.ehappy-page .eh-hero.eh-hero-ai{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:0;min-height:610px;padding-top:0;padding-bottom:0;padding-right:0;overflow:hidden;background:#edf6fc}
.ehappy-page .eh-hero.eh-hero-ai .eh-hero-copy{position:relative;z-index:2;align-self:center;width:min(100%,690px);padding-top:76px;padding-bottom:76px}
.ehappy-page .eh-hero.eh-hero-ai .eh-hero-copy h1{max-width:680px;font-size:clamp(38px,4.7vw,64px)}
.ehappy-page .eh-hero.eh-hero-ai .eh-hero-copy>p:not(.eh-hero-partnership){max-width:600px;font-size:18px}
.ehappy-page .eh-hero.eh-hero-ai .eh-hero-image{position:absolute;z-index:1;top:0;right:0;bottom:0;width:72%;height:100%;min-height:0;margin:0}
.ehappy-page .eh-hero.eh-hero-ai .eh-hero-image img{display:block;width:100%;height:100%;min-height:0;object-fit:cover;object-position:center center;border-radius:0;box-shadow:none;-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.15) 18%,#000 43%);mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.15) 18%,#000 43%)}
.ehappy-page .eh-hero.eh-hero-ai .eh-image-label{z-index:2;right:max(24px,calc((100% - 1400px)/2));bottom:28px}
.ehappy-page .eh-hero-partnership{max-width:580px;margin:24px 0 0;padding-left:13px;border-left:3px solid #0759b5;color:#344d66;font-size:14px}
.ehappy-page .eh-hero-partnership strong{color:#052447}

@media(max-width:900px){
  .ehappy-page .eh-hero.eh-hero-ai{min-height:0;padding-left:0}
  .ehappy-page .eh-hero.eh-hero-ai .eh-hero-copy{width:min(100%,760px);padding:54px 24px 26px}
  .ehappy-page .eh-hero.eh-hero-ai .eh-hero-image{position:relative;top:auto;right:auto;bottom:auto;width:100%;height:350px;min-height:0;margin:0}
  .ehappy-page .eh-hero.eh-hero-ai .eh-hero-image img{-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 28%);mask-image:linear-gradient(180deg,transparent 0%,#000 28%)}
  .ehappy-page .eh-hero.eh-hero-ai .eh-image-label{right:24px;bottom:22px}
}
@media(max-width:600px){
  .ehappy-page .eh-brand-logo{width:178px}
  .ehappy-page .eh-brand-footer .eh-brand-logo{width:170px}
  .ehappy-page .eh-hero.eh-hero-ai .eh-hero-copy{padding:42px 20px 22px}
  .ehappy-page .eh-hero.eh-hero-ai .eh-hero-copy h1{font-size:clamp(36px,10vw,48px)}
  .ehappy-page .eh-hero.eh-hero-ai .eh-hero-copy>p:not(.eh-hero-partnership){font-size:16px}
  .ehappy-page .eh-hero.eh-hero-ai .eh-hero-image{height:285px}
  .ehappy-page .eh-hero.eh-hero-ai .eh-image-label{right:18px;bottom:18px;max-width:calc(100% - 36px)}
  .ehappy-page .eh-hero-partnership{font-size:13px}
}
@media(prefers-reduced-motion:reduce){
  .ehappy-page .eh-nav a,.ehappy-page .eh-nav a:before,.ehappy-page .eh-header-cta,.ehappy-page .eh-header-cta span{transition:none!important}
}

/* Vizuálne doladenie spodných sekcií, aby nadväzovali na výraznejší úvod. */
.ehappy-page .eh-services{background:linear-gradient(180deg,#f3f8fc 0%,#f8fbfe 100%)}
.ehappy-page .eh-section-heading{max-width:850px;margin-bottom:32px}
.ehappy-page .eh-section-heading h2{font-size:clamp(30px,3.2vw,42px);letter-spacing:-.6px}
.ehappy-page .eh-section-heading p{max-width:720px;font-size:16px;line-height:1.7}
.ehappy-page .eh-featured-service,
.ehappy-page .eh-featured-service:hover,
.ehappy-page .eh-featured-service:focus-visible,
.ehappy-page .eh-featured-service *{text-decoration:none!important}
.ehappy-page .eh-featured-service{margin-bottom:22px;padding:32px 36px;border-radius:16px;box-shadow:0 16px 38px rgba(5,36,71,.16);transition:transform .24s ease,box-shadow .24s ease}
.ehappy-page .eh-featured-service:hover{transform:translateY(-3px);box-shadow:0 20px 44px rgba(5,36,71,.22)}
.ehappy-page .eh-featured-service h3{font-size:clamp(25px,2.7vw,34px);letter-spacing:-.4px}
.ehappy-page .eh-featured-service p{font-size:16px;line-height:1.7}
.ehappy-page .eh-featured-partner{color:#d4eaff;font-size:14px;line-height:1.6}
.ehappy-page .eh-featured-link{margin-top:20px}
.ehappy-page .eh-service-grid{gap:18px}
.ehappy-page .eh-card{min-height:184px;padding:25px 24px 22px 78px;border-color:#d4e3f0;border-radius:14px;box-shadow:0 8px 24px rgba(5,36,71,.055);transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease}
.ehappy-page .eh-card:hover{transform:translateY(-4px);border-color:#aacbe6;box-shadow:0 15px 32px rgba(5,36,71,.11)}
.ehappy-page .eh-card-icon{width:44px;height:44px;box-shadow:0 5px 13px rgba(7,89,181,.2)}
.ehappy-page .eh-card h3{font-size:19px;letter-spacing:-.2px}
.ehappy-page .eh-card p{font-size:14px;line-height:1.65}
.ehappy-page .eh-card a{display:inline-flex;align-items:center;gap:7px;text-decoration:none!important}
.ehappy-page .eh-card a:hover{color:#03478f;text-decoration:underline!important;text-underline-offset:4px}
.ehappy-page .eh-about{position:relative;background:linear-gradient(115deg,#e9f4fc 0%,#f3f9fd 100%);border-top:1px solid #e0edf7;border-bottom:1px solid #e0edf7}
.ehappy-page .eh-about h2{max-width:620px;font-size:clamp(30px,3.2vw,42px);letter-spacing:-.6px}
.ehappy-page .eh-about>p{max-width:620px;font-size:16px;line-height:1.75}
.ehappy-page .eh-values{gap:12px}
.ehappy-page .eh-values span{border-color:#c9ddec;box-shadow:0 4px 12px rgba(5,36,71,.04)}
.ehappy-page .eh-contact{background:linear-gradient(112deg,#052447 0%,#0759b5 100%)}
.ehappy-page .eh-contact h2{font-size:clamp(30px,3.2vw,42px);letter-spacing:-.5px}
.ehappy-page .eh-button-light{padding:15px 22px;border-radius:8px;font-weight:800;transition:transform .2s ease,background .2s ease,box-shadow .2s ease}
.ehappy-page .eh-button-light:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.16)}
.ehappy-page .eh-footer{border-top:1px solid rgba(255,255,255,.12)}
@media(max-width:760px){
  .ehappy-page .eh-services{padding-top:56px;padding-bottom:58px}
  .ehappy-page .eh-section-heading{margin-bottom:24px}
  .ehappy-page .eh-featured-service{padding:25px 22px}
  .ehappy-page .eh-card{min-height:0;padding:22px 20px 20px 72px}
  .ehappy-page .eh-about{padding-top:38px;padding-bottom:38px}
  .ehappy-page .eh-values{gap:9px}
}

/* Silnejšie vizuálne odlíšenie hlavnej kategórie a prepracované karty služieb. */
.ehappy-page .eh-featured-service{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border-color:rgba(116,190,255,.62);
  background:
    linear-gradient(100deg,rgba(5,36,71,.97) 0%,rgba(5,53,99,.92) 49%,rgba(5,76,137,.62) 100%),
    url("https://www.e-happy.sk/wp-content/uploads/2026/03/pexels-photo-8386440-8386440.jpg") 68% center / cover no-repeat;
}
.ehappy-page .eh-featured-service:after{
  position:absolute;
  z-index:-1;
  right:-80px;
  bottom:-180px;
  width:440px;
  height:440px;
  border:1px solid rgba(177,221,255,.18);
  border-radius:50%;
  content:"";
  box-shadow:0 0 0 34px rgba(177,221,255,.035),0 0 0 70px rgba(177,221,255,.025);
  pointer-events:none;
}
.ehappy-page .eh-featured-top,.ehappy-page .eh-featured-service h3,.ehappy-page .eh-featured-service p,.ehappy-page .eh-featured-partner,.ehappy-page .eh-featured-link{position:relative;z-index:1}
.ehappy-page .eh-featured-icon{box-shadow:0 6px 20px rgba(0,0,0,.22)}
.ehappy-page .eh-featured-badge{background:rgba(5,36,71,.25);backdrop-filter:blur(6px)}
.ehappy-page .eh-service-grid{align-items:stretch;gap:20px}
.ehappy-page .eh-card{
  min-height:190px;
  overflow:hidden;
  border-color:#d6e5f2;
  border-radius:16px;
  background:linear-gradient(145deg,#fff 0%,#fbfdff 100%);
  box-shadow:0 8px 22px rgba(5,36,71,.055);
}
.ehappy-page .eh-card:after{position:absolute;right:-34px;bottom:-45px;width:115px;height:115px;border:1px solid rgba(7,89,181,.08);border-radius:50%;content:"";pointer-events:none}
.ehappy-page .eh-card:hover{border-color:#9fc6e8;background:#fff;box-shadow:0 16px 34px rgba(5,36,71,.12);transform:translateY(-5px)}
.ehappy-page .eh-card-icon{left:21px;top:24px;border:3px solid #e9f3fc;box-shadow:0 0 0 1px rgba(7,89,181,.12),0 7px 16px rgba(7,89,181,.18)}
.ehappy-page .eh-card h3{position:relative;z-index:1;margin-bottom:9px;font-size:19px}
.ehappy-page .eh-card p{position:relative;z-index:1;line-height:1.7}
.ehappy-page .eh-card a{position:relative;z-index:1;margin-top:3px;font-weight:800}
.ehappy-page .eh-about{background:linear-gradient(120deg,#e8f3fb 0%,#f5faff 55%,#eaf4fb 100%)}
.ehappy-page .eh-about>div:first-child{align-self:center}
.ehappy-page .eh-about>p{align-self:center;margin:0;padding-left:25px;border-left:2px solid #8bbde5}
.ehappy-page .eh-values span{padding:9px 15px;border-color:#d0e0ee;box-shadow:0 5px 16px rgba(5,36,71,.055);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.ehappy-page .eh-values span:hover{transform:translateY(-2px);border-color:#9fc6e8;box-shadow:0 8px 20px rgba(5,36,71,.09)}
.ehappy-page .eh-contact{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(112deg,#052447 0%,#064b91 58%,#0759b5 100%)}
.ehappy-page .eh-contact:after{position:absolute;z-index:-1;right:7%;top:-150px;width:360px;height:360px;border:1px solid rgba(189,225,255,.16);border-radius:50%;content:"";box-shadow:0 0 0 35px rgba(189,225,255,.035),0 0 0 72px rgba(189,225,255,.025);pointer-events:none}
.ehappy-page .eh-contact>div{max-width:760px}
.ehappy-page .eh-button-light{padding:15px 23px;border:1px solid rgba(255,255,255,.7);border-radius:8px;font-weight:800;box-shadow:0 8px 20px rgba(0,0,0,.12);transition:transform .2s ease,background .2s ease,box-shadow .2s ease}
.ehappy-page .eh-button-light:hover{background:#d9edff;box-shadow:0 12px 26px rgba(0,0,0,.2);transform:translateY(-3px)}
.ehappy-page .eh-footer{position:relative;gap:24px;background:linear-gradient(100deg,#031a32 0%,#052447 65%,#07335e 100%)}
.ehappy-page .eh-footer:before{position:absolute;top:0;left:max(24px,calc((100% - 1400px)/2));right:max(24px,calc((100% - 1400px)/2));height:1px;background:linear-gradient(90deg,transparent,rgba(137,202,255,.55),transparent);content:""}
.ehappy-page .eh-footer>a:last-child{padding:8px 12px;border:1px solid rgba(255,255,255,.2);border-radius:6px;transition:background .2s ease,border-color .2s ease}
.ehappy-page .eh-footer>a:last-child:hover{border-color:rgba(169,220,255,.65);background:rgba(85,181,255,.12)}
@media(max-width:760px){
  .ehappy-page .eh-featured-service{background-position:center;background-image:linear-gradient(100deg,rgba(5,36,71,.96),rgba(5,53,99,.84)),url("https://www.e-happy.sk/wp-content/uploads/2026/03/pexels-photo-8386440-8386440.jpg")}
  .ehappy-page .eh-featured-service:after{right:-210px;bottom:-230px}
  .ehappy-page .eh-card{min-height:0;padding-top:23px;padding-bottom:22px}
  .ehappy-page .eh-about>p{padding:16px 0 0;border-top:2px solid #8bbde5;border-left:0}
  .ehappy-page .eh-contact:after{right:-190px;top:auto;bottom:-250px}
  .ehappy-page .eh-footer:before{left:20px;right:20px}
}

/* Obrazové karty: text vľavo plynulo prechádza do fotografie vpravo. */
.ehappy-page .eh-card{
  min-height:260px;
  isolation:isolate;
  padding:27px 24px 24px 78px;
  background:#fff;
}
.ehappy-page .eh-card:before{
  position:absolute;
  z-index:0;
  top:0;
  right:0;
  bottom:0;
  width:69%;
  border-radius:0 15px 15px 0;
  content:"";
  background-position:center;
  background-size:cover;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.16) 18%,#000 57%);
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.16) 18%,#000 57%);
  transition:transform .45s ease,filter .3s ease;
}
.ehappy-page .eh-card:hover:before{filter:saturate(1.08) contrast(1.04);transform:scale(1.025)}
.ehappy-page .eh-card:nth-child(1):before{
  background-image:linear-gradient(rgba(5,36,71,.13),rgba(5,36,71,.28)),url("https://www.e-happy.sk/wp-content/uploads/2026/10/solar-panels-roof-solar-cell-1024x576-1.jpg");
  background-position:center 54%;
}
.ehappy-page .eh-card:nth-child(2):before{
  background-image:linear-gradient(rgba(5,36,71,.16),rgba(5,36,71,.34)),url("https://www.e-happy.sk/wp-content/uploads/2026/10/2Y2A0447-1024x683-1.webp");
  background-position:center 48%;
}
.ehappy-page .eh-card:nth-child(3):before{
  background-image:linear-gradient(rgba(5,36,71,.14),rgba(5,36,71,.32)),url("https://images.pexels.com/photos/5667685/pexels-photo-5667685.jpeg?auto=compress&dpr=1&h=750&w=1260");
  background-position:center 48%;
}
.ehappy-page .eh-card:nth-child(4):before{
  background-image:linear-gradient(rgba(5,36,71,.1),rgba(5,36,71,.26)),url("https://www.e-happy.sk/wp-content/uploads/2026/03/projektovanie-elektroinstalacie.jpg");
  background-position:center 50%;
}
.ehappy-page .eh-card:nth-child(5):before{
  background-image:linear-gradient(rgba(5,36,71,.08),rgba(5,36,71,.24)),url("https://www.e-happy.sk/wp-content/uploads/2026/03/blesk.webp");
  background-position:center 43%;
}
.ehappy-page .eh-card:nth-child(6):before{
  background-image:linear-gradient(rgba(5,36,71,.08),rgba(5,36,71,.25)),url("https://www.e-happy.sk/wp-content/uploads/2026/10/IMG_20220114_125103-1030x771-1-1024x767-1.jpg");
  background-position:68% center;
}
.ehappy-page .eh-card-icon{
  z-index:3;
  top:24px;
  left:22px;
  border:3px solid #fff;
  box-shadow:0 7px 18px rgba(5,36,71,.24);
}
.ehappy-page .eh-card h3,.ehappy-page .eh-card p,.ehappy-page .eh-card a{position:relative;z-index:3;max-width:72%}
.ehappy-page .eh-card h3{margin:0 0 10px;font-size:19px;line-height:1.3}
.ehappy-page .eh-card p{margin-bottom:15px;color:#3f5871;text-shadow:0 1px 0 rgba(255,255,255,.75)}
.ehappy-page .eh-card a{display:inline-flex;margin-top:2px;padding:7px 10px;border:1px solid rgba(7,89,181,.2);border-radius:6px;background:rgba(255,255,255,.82);backdrop-filter:blur(4px)}
.ehappy-page .eh-card:after{
  display:block;
  position:absolute;
  z-index:1;
  inset:0;
  border-radius:15px;
  content:"";
  background:linear-gradient(90deg,#fff 0%,#fff 43%,rgba(255,255,255,.96) 56%,rgba(255,255,255,.64) 72%,rgba(255,255,255,.06) 100%);
  pointer-events:none;
}
@media(max-width:900px){
  .ehappy-page .eh-card{min-height:250px}
  .ehappy-page .eh-card h3,.ehappy-page .eh-card p,.ehappy-page .eh-card a{max-width:78%}
}
@media(max-width:760px){
  .ehappy-page .eh-card{min-height:235px;padding:24px 20px 22px 72px}
  .ehappy-page .eh-card:before{width:74%;border-radius:0 15px 15px 0}
  .ehappy-page .eh-card:after{background:linear-gradient(90deg,#fff 0%,#fff 48%,rgba(255,255,255,.95) 64%,rgba(255,255,255,.18) 100%)}
  .ehappy-page .eh-card-icon{top:22px;left:18px}
  .ehappy-page .eh-card h3,.ehappy-page .eh-card p,.ehappy-page .eh-card a{max-width:82%}
}





/* Hlavička kontaktnej stránky – stránka 926 */
body.page-id-926 #masthead .ast-primary-header-bar,
body.page-id-926 #ast-mobile-header .ast-primary-header-bar {
  background:
    linear-gradient(rgba(5, 36, 71, 0.86), rgba(5, 36, 71, 0.86)),
    url("https://www.e-happy.sk/wp-content/uploads/2026/03/ga5c7b4b7f9eb09b9342086d1b9db6cdbecb318af5d9074a06506a3bd9202b92632a3b701ff7d99de2dbf542ad1c650f68179bd7344e76cdb49c5816509d24a6a_1280-1288717.jpg") center / cover no-repeat !important;
  border-bottom:1px solid rgba(255,255,255,.16);
}
body.page-id-926 #masthead .ast-primary-header-bar .ast-builder-grid-row,
body.page-id-926 #ast-mobile-header .ast-primary-header-bar .ast-builder-grid-row{background:transparent!important}
body.page-id-926 #ast-desktop-header .main-header-menu .menu-link,
body.page-id-926 #ast-mobile-header .main-header-menu .menu-link{color:#fff!important;font-weight:600!important;letter-spacing:.04em}
body.page-id-926 #ast-desktop-header .main-header-menu .menu-link:hover,
body.page-id-926 #ast-mobile-header .main-header-menu .menu-link:hover{color:#a9dcff!important}
body.page-id-926 #ast-desktop-header .ast-header-button-1 a,
body.page-id-926 #ast-mobile-header .ast-header-button-1 a{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.page-id-926 #ast-desktop-header .ast-header-button-1 .ast-custom-button,
body.page-id-926 #ast-mobile-header .ast-header-button-1 .ast-custom-button{padding:13px 21px!important;border:1px solid rgba(255,255,255,.35)!important;border-radius:7px!important;color:#fff!important;background:#0759b5!important;font-weight:700!important;letter-spacing:.03em;box-shadow:0 6px 18px rgba(0,0,0,.18)}
body.page-id-926 #ast-desktop-header .ast-header-button-1 a:hover .ast-custom-button,
body.page-id-926 #ast-mobile-header .ast-header-button-1 a:hover .ast-custom-button{color:#fff!important;background:#03478f!important}

/* Kontaktná stránka E-HAPPY. Triedu eh-contact-page pridajte nadradenému bloku Skupina. */
.eh-contact-page{--contact-blue:#0759b5;--contact-dark:#052447;--contact-ink:#102b49;--contact-muted:#5e7185;--contact-pale:#edf6fc;--contact-line:#d6e5f0;color:var(--contact-ink);font-family:inherit;line-height:1.65;background:#f7fbfe}
.eh-contact-page *{box-sizing:border-box}
.eh-contact-page a{text-decoration:none}
.eh-contact-hero{display:flex;align-items:center;justify-content:space-between;gap:38px;padding:68px max(24px,calc((100% - 1200px)/2));background:linear-gradient(112deg,#eef7fd 0%,#dceefa 58%,#c9e4f7 100%)}
.eh-contact-eyebrow{display:inline-block;color:var(--contact-blue);font-size:12px;font-weight:800;letter-spacing:1.35px}
.eh-contact-hero h1{max-width:760px;margin:12px 0 14px;color:var(--contact-dark);font-size:clamp(38px,5vw,62px);line-height:1.08;letter-spacing:-1.5px}
.eh-contact-hero p{max-width:720px;margin:0;color:#344d66;font-size:18px}
.eh-contact-hero-note{display:flex;align-items:center;gap:14px;flex:0 0 330px;padding:18px 20px;border:1px solid rgba(7,89,181,.18);border-radius:12px;background:rgba(255,255,255,.82);box-shadow:0 12px 34px rgba(5,36,71,.11)}
.eh-contact-hero-note>span{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:#fff;background:var(--contact-blue);font-size:20px}
.eh-contact-hero-note strong,.eh-contact-hero-note small{display:block}
.eh-contact-hero-note strong{color:var(--contact-dark)}
.eh-contact-hero-note small{margin-top:2px;color:var(--contact-muted)}

/* Triedu eh-contact-layout pridajte bloku Stĺpce, ktorý obsahuje kontakty a formulár. */
.eh-contact-page .eh-contact-layout{max-width:1200px;margin:0 auto;padding:64px 24px 78px}
.eh-contact-page .eh-contact-layout>.wp-block-column{min-width:0}
.eh-contact-page .eh-contact-layout>.wp-block-column:first-child{flex-basis:43%!important}
.eh-contact-page .eh-contact-layout>.wp-block-column:last-child{flex-basis:57%!important}
.eh-contact-info{height:100%;padding:38px;border-radius:16px;color:#fff;background:linear-gradient(145deg,#052447 0%,#064b91 66%,#0759b5 100%);box-shadow:0 18px 48px rgba(5,36,71,.18)}
.eh-contact-info .eh-contact-eyebrow{color:#bfe4ff}
.eh-contact-info h2{margin:10px 0 14px;color:#fff;font-size:clamp(28px,3vw,40px);line-height:1.18}
.eh-contact-info>p{margin:0;color:#dcecf8}
.eh-contact-details{display:grid;gap:10px;margin:30px 0}
.eh-contact-details>a,.eh-contact-details>div{display:flex;align-items:center;gap:13px;padding:13px 14px;border:1px solid rgba(255,255,255,.15);border-radius:9px;color:#fff;background:rgba(255,255,255,.07)}
.eh-contact-details>a:hover{border-color:rgba(191,228,255,.65);background:rgba(255,255,255,.12)}
.eh-contact-details>*>span{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;color:#052447;background:#d5efff;font-size:17px}
.eh-contact-details small,.eh-contact-details strong{display:block}
.eh-contact-details small{color:#bfe4ff;font-size:12px}
.eh-contact-details strong{color:#fff;font-size:15px}
.eh-contact-trust{padding-top:24px;border-top:1px solid rgba(255,255,255,.17)}
.eh-contact-trust>strong{font-size:18px}
.eh-contact-trust ol{margin:12px 0 0;padding-left:21px;color:#dcecf8}
.eh-contact-trust li+li{margin-top:6px}

.eh-contact-page .eh-privacy-note{margin:15px 0 0;padding:13px 15px;border-left:3px solid var(--contact-blue);color:var(--contact-muted);background:var(--contact-pale);font-size:12px;line-height:1.55}
.eh-contact-page .eh-privacy-note a{color:var(--contact-blue);font-weight:700;text-decoration:underline}

@media(max-width:900px){.eh-contact-hero{align-items:flex-start;flex-direction:column}.eh-contact-hero-note{width:100%;flex-basis:auto}.eh-contact-page .eh-contact-layout{flex-wrap:wrap!important;gap:22px!important}.eh-contact-page .eh-contact-layout>.wp-block-column{flex-basis:100%!important}.eh-contact-page .eh-contact-layout>.wp-block-column:first-child,.eh-contact-page .eh-contact-layout>.wp-block-column:last-child{flex-basis:100%!important}}
@media(max-width:600px){.eh-contact-hero{padding-top:46px;padding-bottom:46px}.eh-contact-info{padding:27px 22px}.eh-contact-page .eh-contact-layout{padding:34px 16px 52px}.eh-contact-details strong{font-size:14px;overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.eh-contact-page *{scroll-behavior:auto!important}}

/* Hlavička stránky Ochrana osobných údajov – stránka 960 */
body.page-id-960 #masthead .ast-primary-header-bar,
body.page-id-960 #ast-mobile-header .ast-primary-header-bar{background:linear-gradient(rgba(5,36,71,.86),rgba(5,36,71,.86)),url("https://www.e-happy.sk/wp-content/uploads/2026/03/ga5c7b4b7f9eb09b9342086d1b9db6cdbecb318af5d9074a06506a3bd9202b92632a3b701ff7d99de2dbf542ad1c650f68179bd7344e76cdb49c5816509d24a6a_1280-1288717.jpg") center/cover no-repeat!important;border-bottom:1px solid rgba(255,255,255,.16)}
body.page-id-960 #masthead .ast-primary-header-bar .ast-builder-grid-row,
body.page-id-960 #ast-mobile-header .ast-primary-header-bar .ast-builder-grid-row{background:transparent!important}
body.page-id-960 #ast-desktop-header .main-header-menu .menu-link,
body.page-id-960 #ast-mobile-header .main-header-menu .menu-link{color:#fff!important;font-weight:600!important;letter-spacing:.04em}
body.page-id-960 #ast-desktop-header .main-header-menu .menu-link:hover,
body.page-id-960 #ast-mobile-header .main-header-menu .menu-link:hover{color:#a9dcff!important}
body.page-id-960 #ast-desktop-header .ast-header-button-1 a,
body.page-id-960 #ast-mobile-header .ast-header-button-1 a{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.page-id-960 #ast-desktop-header .ast-header-button-1 .ast-custom-button,
body.page-id-960 #ast-mobile-header .ast-header-button-1 .ast-custom-button{padding:13px 21px!important;border:1px solid rgba(255,255,255,.35)!important;border-radius:7px!important;color:#fff!important;background:#0759b5!important;font-weight:700!important;letter-spacing:.03em;box-shadow:0 6px 18px rgba(0,0,0,.18)}
body.page-id-960 #ast-desktop-header .ast-header-button-1 a:hover .ast-custom-button,
body.page-id-960 #ast-mobile-header .ast-header-button-1 a:hover .ast-custom-button{color:#fff!important;background:#03478f!important}

.eh-privacy-page{--privacy-blue:#0759b5;--privacy-dark:#052447;--privacy-ink:#102b49;--privacy-muted:#5e7185;--privacy-pale:#edf6fc;--privacy-line:#d6e5f0;color:var(--privacy-ink);background:#f7fbfe;line-height:1.7}
.eh-privacy-page *{box-sizing:border-box}
.eh-privacy-page a{color:var(--privacy-blue);text-underline-offset:3px}
.eh-privacy-hero{padding:64px max(24px,calc((100% - 1200px)/2));background:linear-gradient(112deg,#eef7fd 0%,#dceefa 58%,#c9e4f7 100%)}
.eh-privacy-hero>span{color:var(--privacy-blue);font-size:12px;font-weight:800;letter-spacing:1.35px}
.eh-privacy-hero h1{max-width:850px;margin:12px 0 14px;color:var(--privacy-dark);font-size:clamp(38px,5vw,60px);line-height:1.08;letter-spacing:-1.2px}
.eh-privacy-hero p{max-width:780px;margin:0;color:#344d66;font-size:18px}
.eh-privacy-hero small{display:block;margin-top:18px;color:var(--privacy-muted)}
.eh-privacy-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:38px;max-width:1200px;margin:0 auto;padding:58px 24px 82px}
.eh-privacy-nav{position:sticky;top:32px;align-self:start;display:grid;gap:5px;padding:23px;border:1px solid var(--privacy-line);border-radius:14px;background:#fff;box-shadow:0 12px 34px rgba(5,36,71,.08)}
.eh-privacy-nav strong{margin-bottom:7px;color:var(--privacy-dark);font-size:18px}
.eh-privacy-nav a{padding:7px 9px;border-radius:6px;color:#35536f;text-decoration:none}
.eh-privacy-nav a:hover{color:var(--privacy-blue);background:var(--privacy-pale)}
.eh-privacy-content{min-width:0;padding:4px 0}
.eh-privacy-content section{scroll-margin-top:30px;padding:0 0 34px}
.eh-privacy-content section+section{padding-top:34px;border-top:1px solid var(--privacy-line)}
.eh-privacy-content h2{margin:0 0 14px;color:var(--privacy-dark);font-size:clamp(25px,3vw,34px);line-height:1.25}
.eh-privacy-content p{margin:0 0 15px}
.eh-privacy-content ul{margin:8px 0 15px;padding-left:23px}
.eh-privacy-content li+li{margin-top:8px}
.eh-privacy-card{padding:20px 22px;border-left:4px solid var(--privacy-blue);border-radius:8px;background:var(--privacy-pale)}
.eh-privacy-card strong{color:var(--privacy-dark);font-size:18px}
.eh-privacy-table-wrap{margin:18px 0 20px;overflow-x:auto;border:1px solid var(--privacy-line);border-radius:10px;background:#fff}
.eh-privacy-table-wrap table{width:100%;min-width:660px;border-collapse:collapse}
.eh-privacy-table-wrap th,.eh-privacy-table-wrap td{padding:15px 17px;border-bottom:1px solid var(--privacy-line);text-align:left;vertical-align:top}
.eh-privacy-table-wrap th{color:var(--privacy-dark);background:var(--privacy-pale)}
.eh-privacy-table-wrap tr:last-child td{border-bottom:0}
@media(max-width:860px){.eh-privacy-layout{grid-template-columns:1fr}.eh-privacy-nav{position:static}.eh-privacy-nav a{display:none}}
@media(max-width:600px){.eh-privacy-hero{padding-top:46px;padding-bottom:46px}.eh-privacy-layout{padding:38px 17px 58px}.eh-privacy-nav{padding:18px}.eh-privacy-content section{padding-bottom:27px}.eh-privacy-content section+section{padding-top:27px}}

body.page-id-960 #ast-desktop-header .ast-header-button-1 {
  flex-shrink: 0;
}

body.page-id-960 #ast-desktop-header .ast-header-button-1 .ast-custom-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  white-space: nowrap !important;
}

/* Jednotná hlavička nového webu */
body:is(.page-id-783,.page-id-822,.page-id-826,.page-id-838,.page-id-864,.page-id-871,.page-id-875,.page-id-885,.page-id-894,.page-id-926,.page-id-960)
#ast-desktop-header .main-header-menu .menu-link {
  transition: color .2s ease;
}

body:is(.page-id-783,.page-id-822,.page-id-826,.page-id-838,.page-id-864,.page-id-871,.page-id-875,.page-id-885,.page-id-894,.page-id-926,.page-id-960)
#ast-desktop-header .ast-header-button-1 {
  flex-shrink: 0;
}

body:is(.page-id-783,.page-id-822,.page-id-826,.page-id-838,.page-id-864,.page-id-871,.page-id-875,.page-id-885,.page-id-894,.page-id-926,.page-id-960)
#ast-desktop-header .ast-header-button-1 .ast-custom-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  white-space: nowrap !important;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

body:is(.page-id-783,.page-id-822,.page-id-826,.page-id-838,.page-id-864,.page-id-871,.page-id-875,.page-id-885,.page-id-894,.page-id-926,.page-id-960)
#ast-desktop-header .ast-header-button-1 a:hover .ast-custom-button {
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(0,0,0,.22);
}

/* Kontakt – mobilné rozloženie */
@media (max-width: 900px) {
  body.page-id-926 [data-spectra-id="spectra-mv8pttan-g0iwiz"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  body.page-id-926 [data-spectra-id="spectra-mv8pttan-g0iwiz"] > .wp-block-spectra-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

/* Čitateľné mobilné menu */
@media (max-width: 921px) {
  body #ast-mobile-header .ast-mobile-header-content,
  body #ast-mobile-header .ast-mobile-header-content .main-header-menu {
    background: #fff !important;
  }

  body #ast-mobile-header .ast-mobile-header-content .main-header-menu .menu-item > .menu-link {
    color: #052447 !important;
    background: #fff !important;
  }

  body #ast-mobile-header .ast-mobile-header-content .main-header-menu .menu-item > .menu-link:hover,
  body #ast-mobile-header .ast-mobile-header-content .main-header-menu .menu-item > .menu-link:focus-visible {
    color: #0759b5 !important;
    background: #edf6fc !important;
  }

  body #ast-mobile-header .ast-button-wrap .menu-toggle {
    color: #fff !important;
    background: #0759b5 !important;
    border: 1px solid #bfe4ff !important;
    border-radius: 6px;
  }

  body #ast-mobile-header .ast-button-wrap .menu-toggle svg {
    fill: currentColor !important;
  }
}

/* Obrázkové karty na stránke Služby – doplnok k existujúcemu CSS. */
/* Obrazové karty: text vľavo plynulo prechádza do fotografie vpravo. */
.eh-service-hub .eh-service-card:not(.eh-service-card--featured) {
  overflow: hidden;
  border-radius: 16px;
}
.eh-service-hub .eh-service-card:not(.eh-service-card--featured) .eh-service-card__icon {
  position: absolute;
  margin-bottom: 0;
}
.eh-service-hub .eh-service-card--featured {
  background: linear-gradient(100deg,rgba(5,36,71,.97) 0%,rgba(5,53,99,.92) 49%,rgba(5,76,137,.62) 100%),
    url("https://www.e-happy.sk/wp-content/uploads/2026/03/pexels-photo-8386440-8386440.jpg") 68% center / cover no-repeat;
}
.eh-service-hub .eh-service-card:not(.eh-service-card--featured){
  min-height:260px;
  isolation:isolate;
  padding:27px 24px 24px 78px;
  background:#fff;
}
.eh-service-hub .eh-service-card:not(.eh-service-card--featured):before{
  position:absolute;
  z-index:0;
  top:0;
  right:0;
  bottom:0;
  width:69%;
  border-radius:0 15px 15px 0;
  content:"";
  background-position:center;
  background-size:cover;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.16) 18%,#000 57%);
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.16) 18%,#000 57%);
  transition:transform .45s ease,filter .3s ease;
}
.eh-service-hub .eh-service-card:not(.eh-service-card--featured):hover:before{filter:saturate(1.08) contrast(1.04);transform:scale(1.025)}
.eh-service-hub .eh-service-card:not(.eh-service-card--featured):nth-child(1 of .eh-service-card:not(.eh-service-card--featured)):before{
  background-image:linear-gradient(rgba(5,36,71,.13),rgba(5,36,71,.28)),url("https://www.e-happy.sk/wp-content/uploads/2026/10/solar-panels-roof-solar-cell-1024x576-1.jpg");
  background-position:center 54%;
}
.eh-service-hub .eh-service-card:not(.eh-service-card--featured):nth-child(2 of .eh-service-card:not(.eh-service-card--featured)):before{
  background-image:linear-gradient(rgba(5,36,71,.16),rgba(5,36,71,.34)),url("https://www.e-happy.sk/wp-content/uploads/2026/10/2Y2A0447-1024x683-1.webp");
  background-position:center 48%;
}
.eh-service-hub .eh-service-card:not(.eh-service-card--featured):nth-child(3 of .eh-service-card:not(.eh-service-card--featured)):before{
  background-image:linear-gradient(rgba(5,36,71,.14),rgba(5,36,71,.32)),url("https://images.pexels.com/photos/5667685/pexels-photo-5667685.jpeg?auto=compress&dpr=1&h=750&w=1260");
  background-position:center 48%;
}
.eh-service-hub .eh-service-card:not(.eh-service-card--featured):nth-child(4 of .eh-service-card:not(.eh-service-card--featured)):before{
  background-image:linear-gradient(rgba(5,36,71,.1),rgba(5,36,71,.26)),url("https://www.e-happy.sk/wp-content/uploads/2026/03/projektovanie-elektroinstalacie.jpg");
  background-position:center 50%;
}
.eh-service-hub .eh-service-card:not(.eh-service-card--featured):nth-child(5 of .eh-service-card:not(.eh-service-card--featured)):before{
  background-image:linear-gradient(rgba(5,36,71,.08),rgba(5,36,71,.24)),url("https://www.e-happy.sk/wp-content/uploads/2026/03/blesk.webp");
  background-position:center 43%;
}
.eh-service-hub .eh-service-card:not(.eh-service-card--featured):nth-child(6 of .eh-service-card:not(.eh-service-card--featured)):before{
  background-image:linear-gradient(rgba(5,36,71,.08),rgba(5,36,71,.25)),url("https://www.e-happy.sk/wp-content/uploads/2026/10/IMG_20220114_125103-1030x771-1-1024x767-1.jpg");
  background-position:68% center;
}
.eh-service-hub .eh-service-card:not(.eh-service-card--featured) .eh-service-card__icon{
  z-index:3;
  top:24px;
  left:22px;
  border:3px solid #fff;
  box-shadow:0 7px 18px rgba(5,36,71,.24);
}
.eh-service-hub .eh-service-card:not(.eh-service-card--featured) h2,.eh-service-hub .eh-service-card:not(.eh-service-card--featured) p,.eh-service-hub .eh-service-card:not(.eh-service-card--featured) a{position:relative;z-index:3;max-width:72%}
.eh-service-hub .eh-service-card:not(.eh-service-card--featured) h2{margin:0 0 10px;font-size:19px;line-height:1.3}
.eh-service-hub .eh-service-card:not(.eh-service-card--featured) p{margin-bottom:15px;color:#3f5871;text-shadow:0 1px 0 rgba(255,255,255,.75)}
.eh-service-hub .eh-service-card:not(.eh-service-card--featured) a{display:inline-flex;margin-top:2px;padding:7px 10px;border:1px solid rgba(7,89,181,.2);border-radius:6px;background:rgba(255,255,255,.82);backdrop-filter:blur(4px)}
.eh-service-hub .eh-service-card:not(.eh-service-card--featured):after{
  display:block;
  position:absolute;
  z-index:1;
  inset:0;
  border-radius:15px;
  content:"";
  background:linear-gradient(90deg,#fff 0%,#fff 43%,rgba(255,255,255,.96) 56%,rgba(255,255,255,.64) 72%,rgba(255,255,255,.06) 100%);
  pointer-events:none;
}
@media(max-width:900px){
  .eh-service-hub .eh-service-card:not(.eh-service-card--featured){min-height:250px}
  .eh-service-hub .eh-service-card:not(.eh-service-card--featured) h2,.eh-service-hub .eh-service-card:not(.eh-service-card--featured) p,.eh-service-hub .eh-service-card:not(.eh-service-card--featured) a{max-width:78%}
}
@media(max-width:760px){
  .eh-service-hub .eh-service-card:not(.eh-service-card--featured){min-height:235px;padding:24px 20px 22px 72px}
  .eh-service-hub .eh-service-card:not(.eh-service-card--featured):before{width:74%;border-radius:0 15px 15px 0}
  .eh-service-hub .eh-service-card:not(.eh-service-card--featured):after{background:linear-gradient(90deg,#fff 0%,#fff 48%,rgba(255,255,255,.95) 64%,rgba(255,255,255,.18) 100%)}
  .eh-service-hub .eh-service-card:not(.eh-service-card--featured) .eh-service-card__icon{top:22px;left:18px}
  .eh-service-hub .eh-service-card:not(.eh-service-card--featured) h2,.eh-service-hub .eh-service-card:not(.eh-service-card--featured) p,.eh-service-hub .eh-service-card:not(.eh-service-card--featured) a{max-width:82%}
}


/* Jednotná šírka nových stránok služieb */
body:is(
  .page-id-822,
  .page-id-826,
  .page-id-838,
  .page-id-864,
  .page-id-871,
  .page-id-875,
  .page-id-885,
  .page-id-894
) :is(
  #content,
  .site-content,
  .site-content .ast-container,
  #primary,
  .site-main,
  .ast-article-single,
  .entry-content
) {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Prehľad služieb */
body.page-id-822 .entry-content > .eh-service-hub {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Zhodné detaily obrazových kariet s hlavnou stránkou. */
.eh-service-hub .eh-service-card:not(.eh-service-card--featured):after {
  width: 115px;
  height: 115px;
  border: 1px solid rgba(7,89,181,.08);
}
.eh-service-hub .eh-service-card:not(.eh-service-card--featured) h2 {
  letter-spacing: -.2px;
}
.eh-service-hub .eh-service-card:not(.eh-service-card--featured) p {
  font-size: 14px;
  line-height: 1.7;
}
.eh-service-hub .eh-service-card:not(.eh-service-card--featured) a {
  gap: 7px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
}
.eh-service-hub .eh-service-card:not(.eh-service-card--featured) .eh-service-card__icon {
  width: 44px;
  height: 44px;
  font-size: 22px;
  font-weight: 800;
}
@media (min-width: 601px) and (max-width: 760px) {
  .eh-service-hub__grid { grid-template-columns: 1fr; }
}

/* Šesť podstránok služieb: uvoľnenie šírky samotného HTML obsahu. */
.entry-content > :is(
  .eh-solar-page,
  .eh-install-page,
  .eh-connection-page,
  .eh-design-page,
  .eh-protection-page,
  .eh-inspection-page
) {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Rovnaká šírka vnútorného obsahu ako na stránke Služby. */
:is(
  .eh-solar-page,
  .eh-install-page,
  .eh-connection-page,
  .eh-design-page,
  .eh-protection-page,
  .eh-inspection-page
) > section {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: max(24px, calc((100% - 1400px) / 2));
  padding-right: max(24px, calc((100% - 1400px) / 2));
}

/* GDPR, ID 960: rovnaká šírka ako nový web. */
body.page-id-960 :is(#content,.site-content,.site-content .ast-container,#primary,.site-main,.ast-article-single,.entry-content),
.entry-content > .eh-privacy-page {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body.page-id-960 :is(.site-content .ast-container,.ast-article-single,.entry-content) {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.eh-privacy-hero {
  padding-left: max(24px,calc((100% - 1400px)/2));
  padding-right: max(24px,calc((100% - 1400px)/2));
}
.eh-privacy-page .eh-privacy-layout {
  box-sizing: border-box;
  width: 100%;
  max-width: 1448px;
}


/* Spoločný vzhľad nových stránok O nás a Naše práce. */
body:has(.eh-info-page) :is(#content,.site-content,.site-content .ast-container,#primary,.site-main,.ast-article-single,.entry-content),
.entry-content > .eh-info-page {width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
body:has(.eh-info-page) :is(.site-content .ast-container,.ast-article-single,.entry-content){padding-left:0!important;padding-right:0!important}
.eh-info-page{color:#102b49;background:#fff;line-height:1.7}
.eh-info-page *,.eh-info-page *::before,.eh-info-page *::after{box-sizing:border-box}
.eh-info-page .eh-info-inner{width:100%;max-width:1448px;margin:0 auto;padding-left:24px;padding-right:24px}
.eh-info-hero{padding:72px 0;background:linear-gradient(112deg,#eef7fd,#dceefa 58%,#c9e4f7)}
.eh-info-page .eh-info-eyebrow{color:#0759b5;font-size:12px;font-weight:800;letter-spacing:1.35px}
.eh-info-page h1{max-width:950px;margin:14px 0 20px;color:#052447;font-size:clamp(38px,5vw,62px);line-height:1.1;letter-spacing:-1.2px}
.eh-info-hero p{max-width:820px;margin-bottom:26px;color:#344d66;font-size:18px}
.eh-info-page .eh-info-button{display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:14px 21px;border:1px solid transparent;border-radius:7px;background:#0759b5;color:#fff!important;font-weight:700;text-decoration:none!important;box-shadow:0 8px 20px #0759b533}
.eh-info-page .eh-info-button:hover{background:#03478f}
.eh-info-page a:focus-visible{outline:3px solid #0759b5;outline-offset:4px}
.eh-info-section{padding:66px 0}
.eh-info-pale{background:#f3f8fc}
.eh-info-page h2{margin:10px 0 22px;color:#052447;font-size:clamp(28px,3.2vw,40px);line-height:1.2}
.eh-info-page h3{margin:12px 0 10px;color:#052447;font-size:21px;line-height:1.3}
.eh-info-page p{margin-top:0}
.eh-info-split{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:56px}
.eh-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:28px}
.eh-info-card{min-width:0;padding:28px;border:1px solid #d6e5f0;border-radius:14px;background:#fff;box-shadow:0 8px 24px #0524470d}
.eh-info-card p{margin-bottom:0;color:#5e7185}
.eh-info-number{color:#0759b5;font-size:13px;font-weight:800;letter-spacing:1px}
.eh-info-page .eh-info-link{color:#0759b5;font-weight:700;text-underline-offset:4px}
.eh-info-cta{padding:44px 0;background:linear-gradient(112deg,#052447,#0759b5);color:#fff}
.eh-info-cta>.eh-info-inner{display:flex;align-items:center;justify-content:space-between;gap:28px}
.eh-info-cta h2{color:#fff;margin-top:0}
.eh-info-cta p{margin-bottom:0;color:#dcecf8}
.eh-info-page .eh-info-button-light{background:#fff;color:#0759b5!important;flex-shrink:0}
.eh-info-page .eh-info-button-light:hover{background:#d5efff}
.eh-work-gallery figure{margin:0}
.eh-work-gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}
body:has(.eh-info-page) #masthead .ast-primary-header-bar{background:linear-gradient(rgba(5,36,71,.88),rgba(5,36,71,.88)),url("https://www.e-happy.sk/wp-content/uploads/2026/03/ga5c7b4b7f9eb09b9342086d1b9db6cdbecb318af5d9074a06506a3bd9202b92632a3b701ff7d99de2dbf542ad1c650f68179bd7344e76cdb49c5816509d24a6a_1280-1288717.jpg") center/cover no-repeat!important}
body:has(.eh-info-page) #ast-desktop-header .main-header-menu .menu-link{color:#fff!important;font-weight:600}
body:has(.eh-info-page) #ast-desktop-header .main-header-menu .menu-link:hover{color:#a9dcff!important}
@media(max-width:800px){.eh-info-split,.eh-info-grid{grid-template-columns:1fr;gap:22px}.eh-info-hero{padding:48px 0}.eh-info-section{padding:44px 0}.eh-info-cta>.eh-info-inner{align-items:flex-start;flex-direction:column}.eh-info-page .eh-info-button{max-width:100%;text-align:center}}


/* Doplnok k spoločnému CSS O nás a Naše práce. */
.eh-work-page .eh-work-lead{max-width:950px;color:#344d66;font-size:18px}
.eh-work-page .eh-work-tags{display:flex;flex-wrap:wrap;gap:9px;margin:24px 0;padding:0;list-style:none}
.eh-work-page .eh-work-tags li{margin:0;padding:7px 13px;border:1px solid #d6e5f0;border-radius:30px;background:#edf6fc;color:#0759b5;font-size:13px;font-weight:700}
.eh-work-page .eh-work-note{margin:26px 0 0;color:#5e7185;font-size:14px}
.eh-work-page .eh-work-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-top:28px}
.eh-work-page .eh-work-details h3{margin-top:0}
.eh-work-page .eh-work-details ul{padding-left:20px;margin-bottom:0;color:#344d66}
.eh-work-page .eh-work-details li+li{margin-top:9px}
.eh-work-page .eh-work-photo{min-width:0;margin:0;overflow:hidden;border:1px solid #d6e5f0;border-radius:14px;background:#fff;box-shadow:0 8px 24px #0524470d}
.eh-work-page .eh-work-photo>a{display:block;padding:12px;background:#eaf2f8}
.eh-work-page .eh-work-photo img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;border-radius:6px;background:#eaf2f8}
.eh-work-page .eh-work-photo figcaption{padding:16px 18px;color:#344d66;font-size:14px;line-height:1.5}
.eh-work-page .eh-work-photo>a:hover{background:#dceaf5}


/* Modré tlačidlo hlavičky aj na nových stránkach. */
body:has(.eh-info-page) #masthead .ast-header-button-1 a{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body:has(.eh-info-page) #masthead .ast-header-button-1 .ast-custom-button{display:inline-flex!important;align-items:center;justify-content:center;min-width:148px;padding:13px 21px!important;border:1px solid rgba(255,255,255,.35)!important;border-radius:7px!important;color:#fff!important;background:#0759b5!important;font-weight:700;white-space:nowrap;box-shadow:0 6px 18px rgba(0,0,0,.18)}
body:has(.eh-info-page) #masthead .ast-header-button-1 a:hover .ast-custom-button{background:#03478f!important}
@media(max-width:800px){.eh-work-page .eh-work-details{grid-template-columns:1fr}.eh-work-page .eh-work-photo img{aspect-ratio:auto}}

/* Jednotné logo E-HAPPY v horných hlavičkách */
:root {
  --eh-logo-width: 220px;
  --eh-logo-height: 64px;
}

/* Logo v hlavičke Domova a obrázkové logo Astry */
.eh-header .eh-brand-logo,
#masthead .site-branding img {
  content: url("https://www.e-happy.sk/wp-content/uploads/2026/10/E-HAPPY_logo_krivky.svg");
  display: block !important;
  width: var(--eh-logo-width) !important;
  max-width: 100% !important;
  height: var(--eh-logo-height) !important;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
}

#masthead .custom-logo-link {
  display: inline-block;
}

/* Náhrada textového názvu obrázkom, ak Astra nemá logo */
#masthead .site-title a {
  display: block;
  width: var(--eh-logo-width);
  height: var(--eh-logo-height);
  max-width: 100%;
  font-size: 0 !important;
  background:
    url("https://www.e-happy.sk/wp-content/uploads/2026/10/E-HAPPY_logo_krivky.svg")
    left center / contain no-repeat;
  filter: brightness(0) invert(1);
}

/* Pri obrázkovom logu nezobrazovať názov druhýkrát */
#masthead .site-branding:has(.custom-logo-link) .site-title {
  display: none;
}

@media (max-width: 921px) {
  :root {
    --eh-logo-width: 170px;
    --eh-logo-height: 50px;
  }
}


/* E-HAPPY – jednotné kontaktné tlačidlo v hlavičke */
.ehappy-page .eh-header .eh-header-cta,
body #masthead :is(#ast-desktop-header, #ast-mobile-header)
.ast-header-button-1 .ast-custom-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;

  box-sizing: border-box;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 13px 19px !important;

  border: 1px solid rgba(255,255,255,.35) !important;
  border-radius: 7px !important;
  background: #0759b5 !important;
  color: #fff !important;

  font-family: "Mulish", sans-serif !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.6 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: nowrap;

  box-shadow: 0 6px 18px rgba(0,0,0,.18) !important;
  transition: background .22s ease, color .22s ease,
              border-color .22s ease, transform .22s ease,
              box-shadow .22s ease !important;
}

/* Odstránenie podčiarknutia odkazu Astry */
#masthead .ast-header-button-1 a {
  text-decoration: none !important;
}

/* Šípka na tlačidle Astry */
#masthead .ast-header-button-1 .ast-custom-button::after {
  content: "→";
  display: inline-block;
  font-size: 17px;
  line-height: 1;
  transition: transform .22s ease;
}

.ehappy-page .eh-header .eh-header-cta span {
  font-size: 17px;
  line-height: 1;
  transition: transform .22s ease;
}

/* Rovnaké zvýraznenie pri prejdení myšou */
.ehappy-page .eh-header .eh-header-cta:hover,
body #masthead :is(#ast-desktop-header, #ast-mobile-header)
.ast-header-button-1 a:hover .ast-custom-button {
  border-color: #b9e2ff !important;
  background: #d5efff !important;
  color: #052447 !important;
  box-shadow: 0 9px 22px rgba(0,0,0,.22) !important;
  transform: translateY(-2px) !important;
}

.ehappy-page .eh-header .eh-header-cta:hover span,
#masthead .ast-header-button-1 a:hover .ast-custom-button::after {
  transform: translateX(4px);
}

/* Ovládanie klávesnicou */
.ehappy-page .eh-header .eh-header-cta:focus-visible,
#masthead .ast-header-button-1 a:focus-visible {
  outline: 2px solid #b9e2ff;
  outline-offset: 4px;
}

/* Menšie tlačidlo na mobile */
@media (max-width: 760px) {
  .ehappy-page .eh-header .eh-header-cta,
  body #masthead :is(#ast-desktop-header, #ast-mobile-header)
  .ast-header-button-1 .ast-custom-button {
    padding: 10px 12px !important;
    font-size: 11px !important;
  }
}

/* Rešpektovanie obmedzenia animácií */
@media (prefers-reduced-motion: reduce) {
  .eh-header-cta,
  .eh-header-cta span,
  #masthead .ast-header-button-1 .ast-custom-button,
  #masthead .ast-header-button-1 .ast-custom-button::after {
    transition: none !important;
    transform: none !important;
  }
}


/* Domov – úvod služieb podľa rozloženia „Prečo E-HAPPY“ */
@media (min-width: 922px) {
  .ehappy-page #sluzby .eh-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 48px;
    row-gap: 12px;
    align-items: start;
    max-width: none;
    width: 100%;
  }

  .ehappy-page #sluzby .eh-section-heading .eh-eyebrow {
    grid-column: 1;
    grid-row: 1;
  }

  .ehappy-page #sluzby .eh-section-heading h2 {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    max-width: 100%;
    line-height: 1.2;
    text-wrap: balance;
  }

  .ehappy-page #sluzby .eh-section-heading p {
    grid-column: 2;
    grid-row: 2;
    max-width: none;
    margin: 6px 0 0;
    padding-left: 32px;
    border-left: 2px solid #80b8e8;
    line-height: 1.7;
  }
}



/* ============================================================
   NAŠE PRÁCE – prehľad realizácií (iba stránka ID 1011)
   Doplnené k pôvodnému CSS. HTML používa triedy eh-home-work.
   Ďalšie zákazky: pridajte article.eh-home-work__card do mriežky.
   ============================================================ */
body.page-id-1011 .eh-home-work {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 66px max(24px, calc((100% - 1400px) / 2));
  background: #fff;
  color: #102b49;
  font-family: inherit;
  line-height: 1.7;
}
body.page-id-1011 .eh-home-work,
body.page-id-1011 .eh-home-work *,
body.page-id-1011 .eh-home-work *::before,
body.page-id-1011 .eh-home-work *::after {
  box-sizing: border-box;
}
/* Ak je sekcia vložená dovnútra existujúceho kontajnera,
   nepoužije sa druhé bočné odsadenie. */
body.page-id-1011 .eh-info-inner .eh-home-work {
  padding-left: 0;
  padding-right: 0;
}
body.page-id-1011 .eh-home-work__intro {
  max-width: 800px;
  margin: 0 0 28px;
}
body.page-id-1011 .eh-home-work__eyebrow {
  color: #0759b5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
body.page-id-1011 .eh-home-work h2 {
  margin: 10px 0 14px;
  color: #052447;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
}
body.page-id-1011 .eh-home-work__intro p {
  margin: 0;
  color: #5e7185;
  line-height: 1.7;
}
body.page-id-1011 .eh-home-work__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
body.page-id-1011 .eh-home-work__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d8e5f0;
  border-radius: 16px;
  background: #f7fbfe;
  box-shadow: 0 8px 24px rgba(5,36,71,.07);
}
body.page-id-1011 .eh-home-work__photo {
  display: grid;
  place-items: center;
  height: 320px;
  margin: 0;
  padding: 16px;
  background: #eaf3fa;
  border-bottom: 1px solid #d8e5f0;
}
body.page-id-1011 .eh-home-work__photo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 288px;
  margin: 0;
  object-fit: contain;
  border-radius: 8px;
}
body.page-id-1011 .eh-home-work__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 28px;
}
body.page-id-1011 .eh-home-work__type {
  margin-bottom: 10px;
  color: #0759b5;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
}
body.page-id-1011 .eh-home-work h3 {
  margin: 0 0 14px;
  color: #052447;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.3;
  overflow-wrap: break-word;
}
body.page-id-1011 .eh-home-work__body p {
  margin: 0 0 20px;
  color: #5e7185;
  line-height: 1.7;
}
body.page-id-1011 .eh-home-work__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 26px;
  list-style: none;
}
body.page-id-1011 .eh-home-work__tags li {
  padding: 6px 11px;
  margin: 0;
  border: 1px solid #d5e5f2;
  border-radius: 24px;
  background: #edf6fd;
  color: #0759b5;
  font-size: 12px;
  line-height: 1.5;
}
body.page-id-1011 .eh-home-work__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  gap: 12px;
  max-width: 100%;
  margin-top: auto;
  padding: 12px 18px;
  border: 1px solid #0759b5;
  border-radius: 7px;
  background: #0759b5;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-decoration: none !important;
  transition: background .2s ease, box-shadow .2s ease;
}
body.page-id-1011 .eh-home-work__link:hover {
  background: #03478f;
  border-color: #03478f;
  box-shadow: 0 6px 16px rgba(5,36,71,.16);
}
body.page-id-1011 .eh-home-work__link:focus-visible {
  outline: 3px solid #0759b5;
  outline-offset: 4px;
}
/* Odsadenie nadpisu detailu pri prechode z karty. */
body.page-id-1011 :is(#eh-work-project-one, #eh-work-project-two) {
  scroll-margin-top: 32px;
}
@media (max-width: 760px) {
  body.page-id-1011 .eh-home-work {
    padding-top: 44px;
    padding-bottom: 44px;
  }
  body.page-id-1011 .eh-home-work__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  body.page-id-1011 .eh-home-work__photo {
    height: 280px;
  }
  body.page-id-1011 .eh-home-work__photo img {
    max-height: 248px;
  }
  body.page-id-1011 .eh-home-work__body {
    padding: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-id-1011 .eh-home-work__link {
    transition: none;
  }
}
/* Koniec štýlov prehľadu realizácií. */

/* Naše práce – fotografia realizácie s modrým prekrytím */
body.page-id-1011 .eh-info-page .eh-info-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  background: #06396d;
}

/* Fotografia rozvádzača z vašej realizácie */
body.page-id-1011 .eh-info-page .eh-info-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 62%;
  z-index: 0;
  pointer-events: none;

  background:
    url("https://www.e-happy.sk/wp-content/uploads/2026/10/IMG_20250124_110626-scaled.jpg")
    center 42% / cover no-repeat;
}

/* Plynulý prechod od pevnej modrej k fotografii */
body.page-id-1011 .eh-info-page .eh-info-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    #06396d 0%,
    #06396d 38%,
    rgba(6,57,109,.97) 46%,
    rgba(6,57,109,.78) 58%,
    rgba(6,57,109,.35) 76%,
    rgba(6,57,109,.12) 100%
  );
}

/* Obsah nad fotografiou a farebným prekrytím */
body.page-id-1011 .eh-info-page .eh-info-hero > .eh-info-inner {
  position: relative;
  z-index: 2;
}

body.page-id-1011 .eh-info-page .eh-info-hero .eh-info-eyebrow {
  color: #c6e8ff;
}

body.page-id-1011 .eh-info-page .eh-info-hero h1 {
  max-width: 56%;
  color: #fff;
}

body.page-id-1011 .eh-info-page .eh-info-hero p {
  max-width: 52%;
  color: #e7f3fc;
}

/* Kontaktné tlačidlo v úvodnej sekcii */
body.page-id-1011 .eh-info-page .eh-info-hero .eh-info-button {
  border-color: rgba(255,255,255,.65);
  background: #fff;
  color: #07509a !important;
  box-shadow: 0 7px 20px rgba(0,20,50,.15);
}

body.page-id-1011 .eh-info-page .eh-info-hero .eh-info-button:hover {
  background: #d5efff;
  border-color: #d5efff;
  color: #06396d !important;
}

body.page-id-1011 .eh-info-page .eh-info-hero a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

/* NAŠE PRÁCE – koláž a modrý prechod */
body.page-id-1011 .eh-info-page .eh-info-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  background: #06396d;
}

/* Koláž */
body.page-id-1011 .eh-info-page .eh-info-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: 0;
  pointer-events: none;

  background-image: url("https://www.e-happy.sk/wp-content/uploads/2026/10/foto_kolaz.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Plynulé odkrytie fotografií smerom doprava */
body.page-id-1011 .eh-info-page .eh-info-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    #06396d 0%,
    #06396d 28%,
    rgba(6, 57, 109, 0.98) 36%,
    rgba(6, 57, 109, 0.90) 44%,
    rgba(6, 57, 109, 0.65) 54%,
    rgba(6, 57, 109, 0.25) 68%,
    rgba(6, 57, 109, 0) 85%
  );
}

/* Text nad pozadím */
body.page-id-1011 .eh-info-page .eh-info-hero > .eh-info-inner {
  position: relative;
  z-index: 2;
}

body.page-id-1011 .eh-info-page .eh-info-hero .eh-info-eyebrow {
  color: #c6e8ff;
}

body.page-id-1011 .eh-info-page .eh-info-hero h1 {
  max-width: 56%;
  color: #fff;
}

body.page-id-1011 .eh-info-page .eh-info-hero p {
  max-width: 52%;
  color: #e7f3fc;
}

/* Tlačidlo iba v úvodnej sekcii */
body.page-id-1011 .eh-info-page .eh-info-hero .eh-info-button {
  background: #fff;
  color: #07509a !important;
  border: 1px solid #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

body.page-id-1011 .eh-info-page .eh-info-hero .eh-info-button:hover {
  background: #e7f3fc;
  border-color: #e7f3fc;
}

/* Tablet a mobil – tmavší podklad pre čitateľnosť */
@media (max-width: 921px) {
  body.page-id-1011 .eh-info-page .eh-info-hero::before {
    background-position: 65% center;
  }

  body.page-id-1011 .eh-info-page .eh-info-hero::after {
    background: linear-gradient(
      90deg,
      rgba(6, 57, 109, 0.98) 0%,
      rgba(6, 57, 109, 0.92) 45%,
      rgba(6, 57, 109, 0.78) 100%
    );
  }

  body.page-id-1011 .eh-info-page .eh-info-hero h1,
  body.page-id-1011 .eh-info-page .eh-info-hero p {
    max-width: 100%;
  }
}


/* Testovací štýl */
body {
    font-display: swap;
}