/*
Theme Name: hejDUDE
Theme URI: https://hejdude.com
Author: Domino
Author URI: https://hejdude.com
Description: Basic Wordpress Theme made by hejDUDE
Version: 2.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hejDUDE
*/



/*4040 text*/

p.on404 {
  margin-left:auto;
  margin-right:auto;
  margin-top:-20%;
  text-align:center;
  color:white;
  font-family: "Euclid A regular", Sans-serif;
  font-size:22px;}
  
button.btn404{
  margin-left:auto;
  margin-right:auto;
  margin-top:-40%;
  text-align:center;
  color:white;
  font-family: "Euclid A regular", Sans-serif;
  font-size:17px;
  background-color:transparent;
  border-width:0px 0px 1px 0px;
  border-color:white;
  }
  
button.btn404:hover{
  color:#FF9406;
  border-width:0px 0px 1px 0px;
  border-color:#FF9406;
  }
  
.homebtn{
  margin-left:auto;
  margin-right:auto;  
  text-align:center;}
  
p.on404 {
  margin-left: auto;
  margin-right: auto;
  margin-top: -70%;
  text-align: center;
  color: white;
  font-family: "Euclid A regular", Sans-serif;
  font-size: 22px;
}
.c-on404{
	height:100vh;
	}
	
	
.i-on404{
  object-fit: cover;
  height: 100%;
  margin-top: 74px;
}


@font-face {
	font-family: 'Manrope';
	font-weight: 400 500 600 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--blue: #155F83;
	--green: #4EA62F;
	--green-dark: #428C28;
	--navy: #173b4c;
	--hero-bg: #edf4f7; 
	--container: 1640px;
	--gutter: 20px;
	--blue-dark: #124b68; 
	--green-tint: #EAF4E7;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: 'Manrope', sans-serif;
	color: var(--navy);
	-webkit-font-smoothing: antialiased;
}

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* Button */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 34px;
	width: 250px;
	height: 70px;
	border-radius: 20px;
	background: var(--green);
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
	transition: background .2s;
}
.btn:hover { background: var(--green-dark); }

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	box-shadow: 0 4px 10px rgba(0, 0, 0, .12); 
}
.site-header__inner {
	display: grid;
	grid-template-columns: 414px 1fr auto;
	align-items: center;
	height: 128px;
}
.site-header__logo img { display: block; width: 218px; height: auto; }

.site-nav { align-self: stretch; display: flex; }   /* nav je vysoký ako hlavička, aby sa submenu lepilo na jej spodok */

.site-nav > ul { display: flex; gap: 60px; margin: 0; padding: 0; list-style: none; }
.site-nav > ul > li { position: relative; display: flex; align-items: center; }

.site-nav a {
	position: relative;
	display: inline-block;
	font-size: 18px;
	font-weight: 700;
	color: var(--navy);
	text-decoration: none;
	transition: color .2s;
}
.site-nav a:hover { color: var(--green); }

/* aktívna položka (len horná úroveň) */
.site-nav > ul > .current-menu-item > a::after,
.site-nav > ul > .current_page_item > a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -21px;                  
	height: 3px;                    
	border-radius: 2px;
	background: var(--green);
}
.site-nav .sub-menu a { text-decoration: none; }
.site-nav .sub-menu .menu-item > a::after { content: none; }

/* Submenu */
.site-nav .sub-menu {
	display: block;      /* nové */
	gap: 0;   
	position: absolute;
	top: 100%;                      
	left: -20px;                    
	min-width: 346px;               
	margin: 0;
	padding: 6px 20px 12px;         
	list-style: none;
	background: var(--green-tint);  
	border-radius: 0 0 12px 12px;   
	box-shadow: 0 8px 16px rgba(0, 0, 0, .06);   
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.site-nav .sub-menu a {
	display: block;
	font-size: 18px;                
	line-height: 38px;
	white-space: nowrap;
}

.nav-toggle { display: none; }

.site-nav .sub-menu li { display: block; margin: 0; }  

/* Hero */
.hero {
	display: flex;
	align-items: center;
	min-height: 622px;
	background: var(--hero-bg);
}
.hero__inner {
	display: grid;
	grid-template-columns: 920px 1fr;
	align-items: center;
}
.hero__title {
	margin: 0;
	font-size: 65px;
	line-height: 1.2;
	font-weight: 800;
	color: var(--blue);
}
.hero__title span {
	display: block;
	font-size: 50px;
	color: var(--green);
}
.hero__text {
	max-width: 910px;
	margin: 20p 0 0;
	font-size: 24px;
	line-height: 34px;
	font-weight: 500;
}
.hero__btn { margin-top: 90px; } 
.hero__image { justify-self: center; }
.hero__image img { display: block; width: 317px; height: auto; }

/* Základný responzív  */
@media (max-width: 1199px) {
	.site-header__inner { grid-template-columns: 1fr auto auto; height: 88px; gap: 16px; }
	.site-header__logo img { width: 150px; }
	.site-header__cta { order: 2; width: auto; height: 52px; padding: 0 20px; gap: 12px; font-size: 16px; border-radius: 14px; }

	.nav-toggle { display: block; order: 3; position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
	.nav-toggle::before, .nav-toggle::after, .nav-toggle span {
		content: '';
		position: absolute;
		left: 10px;
		right: 10px;
		height: 2px;
		background: var(--blue);
	}
	.nav-toggle::before { top: 15px; }
	.nav-toggle span { top: 21px; }
	.nav-toggle::after { top: 27px; }

	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		padding: 16px var(--gutter) 24px;
		background: #fff;
		box-shadow: 0 8px 10px rgba(0, 0, 0, .08);
	}
	.site-nav.is-open { display: block; }
	.site-nav > ul { flex-direction: column; gap: 20px; }
	.site-nav > ul { flex-direction: column; gap: 20px; }
	.site-nav > ul > li { display: block; }
	.site-nav .sub-menu {
		position: static;
		min-width: 0;
		padding: 8px 0 0 16px;
		background: none;
		border-radius: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	

	

	.hero { min-height: 0; padding: 56px 0; }
	.hero__inner { grid-template-columns: 1fr; gap: 40px; }
	.hero__title { font-size: 40px; }
	.hero__title span { font-size: 32px; }
	.hero__text { font-size: 18px; line-height: 1.5; }
	.hero__btn { margin-top: 40px; }
	.hero__image img { width: 200px; }
}


.eyebrow {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--blue);
}
.eyebrow::before {
	content: '';
	width: 60px;
	height: 2px;
	background: var(--green);
}

/* O nás */
.about { padding: 100px 0; background: #fff; }

.about__title,
.services__title {
	max-width: 1500px;            
	margin: 28px 0 40px;
	font-size: 45px;               
	line-height: 58px;
	font-weight: 800;
	color: var(--blue);
}

.about__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;                     
}

.about-card {
	padding: 54px 60px 56px;
	background: #fff;
	border: 1px solid #edf4f7;     
	border-radius: 20px;           
}
.about-card__icon {
	display: flex;
	align-items: center;
	height: 54px;
	margin-bottom: 36px;
}
.about-card__icon img { display: block; width: 50px; height: auto; }

.about-card__title {
	margin: 0 0 24px;
	font-size: 35px;               
	line-height: 1.2;
	font-weight: 800;
	color: var(--blue);
}
.about-card__text {
	margin: 0;
	font-size: 18px;
	line-height: 24px;
	font-weight: 400;             
	color: var(--navy);
}

.about__btn { margin-top: 60px; }

@media (max-width: 1199px) {
	.about { padding: 60px 0; }
	.about__title, .services__title { margin: 20px 0 32px; font-size: 32px; line-height: 1.3; }
	.about__grid { grid-template-columns: 1fr; }
	.about-card { padding: 32px; }
	.about-card__icon { margin-bottom: 24px; }
	.about-card__title { font-size: 26px; }
	.about__btn { margin-top: 40px; }
}

/* Outline tlačidlo */
.btn--outline {
	justify-content: space-between;   
	padding: 0 34px;
	background: transparent;
	border: 1px solid var(--blue);
	color: var(--blue);
}
.btn--outline:hover { background: var(--blue); color: #fff; }

/* Služby */
.services { padding: 100px 0; background: var(--hero-bg); }

.services__list { display: grid; gap: 24px; }

.service-row {
	display: grid;
	grid-template-columns: 446px 1fr;
	align-items: center;
	height: 150px;
	background: #fff;
	border-radius: 20px;                              
	box-shadow: 0 2px 12px rgba(21, 95, 131, .06);    
}
.service-row__head {
	display: flex;
	align-items: center;
	gap: 35px;
	padding-left: 32px;
}
.service-row__icon { flex: none; display: block; width: 50px; height: auto; }
.service-row__title {
	margin: 0;
	font-size: 35px;                                  
	line-height: 48px;                                
	font-weight: 800;
	color: var(--blue);
}
.service-row__desc {
	position: relative;
	margin: 0;
	padding: 0 32px 0 35px;
	font-size: 18px;
	line-height: 24px;
	font-weight: 500;
	color: var(--navy);
}
.service-row__desc::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 1px;
	height: 96px;                                    
	transform: translateY(-50%);
	background: #edf4f7;                              
}

.services__actions { display: flex; gap: 48px; margin-top: 39px; }

@media (max-width: 1199px) {
	.services { padding: 60px 0; }
	.service-row { grid-template-columns: 1fr; gap: 16px; height: auto; padding: 24px 0; }
	.service-row__head { gap: 20px; padding: 0 24px; }
	.service-row__title { font-size: 24px; line-height: 1.3; }
	.service-row__title br { display: none; }
	.service-row__desc { padding: 0 24px; }
	.service-row__desc::before { display: none; }
	.services__actions { flex-direction: column; gap: 16px; margin-top: 32px; }
	
}

.section-title {
	margin: 0 0 33px;               
	font-size: 44px;
	line-height: 58px;
	font-weight: 800;
	color: var(--blue);
}
.eyebrow + .section-title { margin-top: 28px; }

/* Prečo S-Prove */
.why { padding: 100px 0 120px; background: #fff; }  
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }.why-card {
	padding: 60px 52px;             
	border-radius: 20px;            
	background: var(--green-tint);
}
.why-card:nth-child(even) { background: var(--hero-bg); }
.why-card__num {
	display: block;
	margin-bottom: 26px;
	font-size: 35px;                
	line-height: 48px;
	font-weight: 700;
	color: var(--green);
}
.why-card__title {
	margin: 0 0 20px;
	font-size: 35px;                
	line-height: 48px;
	font-weight: 800;
	color: var(--blue);
}
.why-card__text {
	margin: 0;
	font-size: 18px;
	line-height: 24px;
	font-weight: 400;
	color: var(--navy);
}

/* Ako prebieha spolupráca */
.process { padding: 128px 0 100px; background: var(--hero-bg); }  
.process__grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.step { padding-right: 20px; }                                       
.step__top { display: flex; align-items: center; gap: 30px; margin-bottom: 32px; }
.step__num {
	position: relative;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 98px;                  
	height: 98px;
	font-size: 40px;              
	line-height: 1;
	font-weight: 800;
	color: var(--green);
}
/* dvojfarebný kruh: ľavá polovica modrá, pravá zelená */
.step__num::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: conic-gradient(var(--green) 0 180deg, var(--blue) 180deg 360deg);
	-webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
	mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
}

.step__arrow { flex: none; display: block; color: var(--green); }

.step__title {
	margin: 0 0 16px;             
	font-size: 30px;              
	line-height: 40px;
	font-weight: 800;
	color: var(--blue);
}
.step__text {
	max-width: 235px;             
	margin: 0;
	font-size: 18px;              
	line-height: 1.4;
	font-weight: 500;
	color: var(--navy);
}
.process__btn { margin-top: 33px; } 

/* Pätička */
.site-footer { padding: 55px 0 45px; background: var(--blue-dark); color: #fff; }
.site-footer a { color: #fff; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--green); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }

.site-footer__row { display: flex; align-items: center; }
.site-footer__logo img { display: block; width: 184px; height: auto; }

.site-footer__col {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 75px;
	margin-left: 80px;
	padding-left: 80px;
	border-left: 1px solid rgba(78, 166, 47, 1);   
	font-size: 18px;                                  
	line-height: 28px;
	font-weight:400;
}
.site-footer__col--company { margin-left: 48px; padding-left: 44px; }
.site-footer__col strong { font-weight: 600; }

.site-footer__label {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--green);
}
.site-footer__mail { display: flex; align-items: center; gap: 12px; }

.to-top {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-left: auto;
	border-radius: 50%;
	background: var(--green);
}
.site-footer a.to-top:hover { background: var(--green-dark); color: #fff; }

.site-footer__bottom {
	margin-top: 55px;
	padding-top: 32px;
	border-top: 1px solid rgba(255, 255, 255, .2);   
	font-size: 14px;
	line-height: 20px;
}

@media (max-width: 1199px) {
	.section-title { font-size: 32px; line-height: 1.3; margin-bottom: 28px; }

	.why { padding: 60px 0; }
	.why__grid { grid-template-columns: repeat(2, 1fr); }
	.why-card { padding: 32px; }

	.process { padding: 60px 0; }
	.process__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
	.step__num { width: 72px; height: 72px; font-size: 24px; }
	.step__title { font-size: 24px; line-height: 1.3; }
	.step__title br { display: none; }

	.site-footer__row { flex-wrap: wrap; gap: 32px; }
	.site-footer__col,
	.site-footer__col--company { height: auto; margin: 0; padding: 0; border: 0; }
	.to-top { margin-left: 0; }
}

@media (max-width: 639px) {
	.why__grid,
	.process__grid { grid-template-columns: 1fr; }
}


/* Kontakt */
.hero--contact {
	min-height: 666px;
	padding: 100px 0 140px;          
}
.hero--contact .section-title { margin-bottom: 20px; } 

.contact__text {
	max-width: 700px;                
	margin: 0;
	font-size: 33px;                 
	line-height: 1.5;
	font-weight: 400;
	color: var(--navy);
}
.contact__text a {
	font-weight: 600;
	color: var(--green);
	text-decoration: none;
	transition: color .2s;
}
.contact__text a:hover { color: var(--green-dark); }

.contact__btn { margin-top: 72px; }   

@media (max-width: 1199px) {
	.hero--contact { min-height: 0; padding: 60px 0; }
	.contact__text { font-size: 20px; }
	.contact__btn { margin-top: 40px; }
}


.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Aktívna položka v menu (v návrhu má zelené podčiarknutie) */
.site-nav a { position: relative; display: inline-block; }
.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -21px;                  
	height: 3px;                    
	border-radius: 2px;
	background: var(--green);
}

/* Tím */
.team { padding: 100px 0; background: var(--hero-bg); }  
.team .eyebrow { margin-bottom: 40px; }                   
.team__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	align-items: start;             
}

.team-card {
	min-height: 706px;              
	padding: 60px 56px 52px;        
	border-radius: 20px;            
	background: #fff;
	text-align: center;
}
.team-card__avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 150px;
	height: 150px;
	margin: 0 auto 40px;            
	overflow: hidden;
	border-radius: 50%;
	background: var(--green-tint);
	color: var(--green);
}
.team-card__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }

.team-card__name {
	margin: 0 0 26px;               
	font-size: 30px;                
	line-height: 40px;
	font-weight: 800;
	color: var(--blue);
}
.team-card__text {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
	font-weight: 500;
	color: var(--navy);
}

@media (max-width: 1199px) {
	.team { padding: 60px 0; }
	.team .eyebrow { margin-bottom: 32px; }
	.team__grid { grid-template-columns: 1fr; }
	.team-card { min-height: 0; padding: 32px; }
	.team-card__avatar { width: 120px; height: 120px; margin-bottom: 28px; }
	.team-card__name { font-size: 24px; line-height: 1.3; }
}


/* Referencie */
.refs { padding: 100px 0; background: #fff; }                
.refs__block + .refs__block { margin-top: 100px; }           
.refs__list { display: grid; gap: 24px; }

.ref-row {
	display: grid;
	grid-template-columns: 182px 1fr;
	align-items: center;
	min-height: 150px;
	padding: 24px 46px 24px 0;
	border-radius: 20px;                                        
	background: var(--hero-bg);
}
.refs__list--green .ref-row { background: var(--green-tint); }

.ref-row__icon { padding-left: 46px; line-height: 0; color: var(--green); }   
.ref-row__icon svg { display: block; width: 50px; height: 50px; }

.ref-row__text {
	max-width: 1380px;                                          
	margin: 0;
	font-size: 20px;                                           
	line-height: 1.5;
	font-weight: 500;
	color: var(--navy);
}

@media (max-width: 1199px) {
	.refs { padding: 60px 0; }
	.refs__block + .refs__block { margin-top: 60px; }
	.refs__list { gap: 16px; }
	.ref-row { grid-template-columns: 40px 1fr; gap: 16px; min-height: 0; padding: 20px; }
	.ref-row__icon { padding-left: 0; }
	.ref-row__icon svg { width: 36px; height: 36px; }
	.ref-row__text { font-size: 16px; }
	.ref-row__text br { display: none; }
}

/* Partneri */
.refs__block--partners .section-title { margin-bottom: 72px; } 
.partners {
	display: flex;
	flex-wrap: wrap;
	align-items: center;          
	gap: 50px 100px;               
}
.partners img { display: block; height: auto; max-width: 100%; }

@media (max-width: 1199px) {
	.refs__block--partners .section-title { margin-bottom: 32px; }
	.partners { gap: 32px 40px; }
	.partners img { width: auto; max-width: 45%; max-height: 80px; object-fit: contain; }
}


/* Kotvy pod sticky hlavičkou */
section[id] { scroll-margin-top: 128px; } 

/* Služby */
.svc { padding: 100px 0 90px; background: var(--hero-bg); }  
.svc .section-title { margin-bottom: 20px; }                 
.svc__lead {
	max-width: none;               
	margin: 0 0 64px;                
	font-size: 25px;                 
	line-height: 35px;
	font-weight: 500;
	color: var(--navy);
}
.svc__lead--narrow { max-width: 1340px; }                  
.checklist + .svc__lead { margin-top: 64px; }

.checklist {
	max-width: 1226px; 
	min-height: 265px; 
	padding: 38px 40px 49px 60px;    
	border-radius: 20px;
	background: #fff;
}
.checklist__title {
	margin: 0 0 14px;
	font-size: 25px;                 
	line-height: 35px;
	font-weight: 800;
	color: var(--green);
}
.checklist__cols { grid-template-columns: var(--col1, 470px) 1fr; } 
.checklist__col { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.checklist__col li {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	font-size: 20px;                 
	line-height: 27px;
	font-weight: 500;
	color: var(--navy);
}
.checklist__col svg { flex: none; margin-top: 2.5px; color: var(--green); }

.svc--white { background: #FFF; }

.svc--grin { background: #EAF4E7; }
.svc + .svc { padding-bottom: 100px; }         
.checklist--tint { background: var(--green-tint); }

.checklist.checklist--tint { background: var(--green-tint, #E7F1E2); }

@media (max-width: 1199px) {
	.svc { padding: 60px 0; }
	.svc__lead { margin-bottom: 40px; font-size: 18px; line-height: 1.5; }
	.checklist + .svc__lead { margin-top: 40px; }
	.checklist { padding: 28px 24px; }
	.checklist__title { font-size: 20px; }
	.checklist__cols { grid-template-columns: 1fr; gap: 8px; }
	.checklist__col li { font-size: 16px; line-height: 24px; }
	.checklist__col svg { margin-top: 1px; }
}

.checklist .checklist__cols {
	display: grid;
	grid-template-columns: var(--col1, 470px) 1fr;
	align-items: start;
}
.checklist .checklist__col {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.checklist .checklist__col li { display: flex; }

@media (max-width: 1199px) {
	.checklist .checklist__cols { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}
@media (max-width: 639px) {
	.checklist .checklist__cols { grid-template-columns: 1fr; }
}

/* Kontakt  na desktope skrytý */
.site-nav .site-nav__cta { display: none; }

@media (max-width: 1199px) {
	/*  Kontakt  do hamburgera */
	.site-header__inner { grid-template-columns: 1fr auto; }
	.site-header__cta { display: none; }

	
	.site-nav a.site-nav__cta {
		display: flex;
		width: 100%;
		margin-top: 24px;
		color: #fff;
		font-size: 18px;
		font-weight: 600;
	}
	.site-nav a.site-nav__cta:hover { color: #fff; }

	/*  bez šípok */
	.step__arrow { display: none; }
}

@media (max-width: 767px) {
	
	.hero--home .hero__image { display: none; }

	/* Pätička: všetko pod sebou */
	.site-footer { padding: 40px 0 32px; }
	.site-footer__row {
		flex-direction: column;
		align-items: flex-start;
		gap: 28px;
	}
	.site-footer__col,
	.site-footer__col--company { justify-content: flex-start; }
	.to-top { align-self: flex-start; }
	.site-footer__bottom { margin-top: 32px; padding-top: 24px; }
}