/*   
Theme Name: Fedor
Version: 1.0
Author: Linara
*/

:root {
    --bg: #f4f9fb;
    --surface: #ffffff;
    --surface-2: #e8f4f6;
    --text: #0b2f3a;
    --muted: #4f6b75;
    --primary: #0a4775;
    --primary-2: #208891;
    --accent: #3f969f;
    --soft-blue: #e6f2f7;
    --soft-turquoise: #e6f7f6;
    --border: rgba(10, 71, 117, .12);
    --shadow: 0 18px 50px rgba(10, 71, 117, .10);
    --shadow-soft: 0 10px 28px rgba(10, 71, 117, .08);
    --radius: 22px;
    --radius-sm: 16px;
    --nav-h: 80px;
    --gradient: linear-gradient(135deg, #0a4775 0%, #208891 55%, #3f969f 100%);
    --gradient-soft: linear-gradient(135deg, #e6f2f7 0%, #e6f7f6 100%);
}


html { 
    scroll-behavior: smooth; 
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: 
    radial-gradient(circle at top left, rgba(63, 150, 159, 0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(32, 136, 145, 0.10), transparent 24%),
    linear-gradient(180deg, #f7fbfd 0%, var(--bg) 100%);
}

a { text-decoration: none; }
.text-muted-2 { 
  color: var(--muted) !important; 
}
.section-gap { 
  padding: 92px 0; 
}

.section-horse {
  background: url(./img/back.png) center right no-repeat;
  background-size: contain;
}

.section-title {
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.05;
}
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .85rem;
    border-radius: 999px;
    background: rgb(31 78 107 / 9%);
    color: var(--primary);
    font-weight: 700;
    font-size: .85rem;
    margin-bottom: 1rem;
    }
.section-kicker::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgb(31 62 107 / 12%);
}

  /* Navbar */
.navbar {
    padding: 0 42px;
    min-height: var(--nav-h);
    backdrop-filter: blur(14px);
    background: rgba(255,255,255,.82) !important;
    border-bottom: 1px solid rgba(23,48,36,.08);
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--text) !important;
}
.navbar-light .navbar-brand {
    color: rgba(0, 0, 0, .9);
    gap: 16px;
    }
.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    box-shadow: 0 12px 25px rgba(31,107,79,.25);
    margin-right: .55rem;
    font-size: 1rem;
}
  .nav-link {
    color: var(--text) !important;
    font-weight: 600;
    padding: .65rem .95rem !important;
    border-radius: 999px;
    transition: all .25s ease;
  }
  .nav-link:hover,
  .nav-link:focus {
    background: rgba(31, 89, 107, 0.08);
    color: var(--primary) !important;
  }
  .btn-main {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: .9rem 1.2rem;
    font-weight: 700;
    box-shadow: 0 16px 30px rgba(31,107,79,.22);
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .btn-main:hover { transform: translateY(-1px); box-shadow: 0 20px 36px rgba(31,107,79,.26); color: #fff; }

  /* Hero */
  .hero {
    min-height: calc(100vh - var(--nav-h));
    display: grid;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 112px 0 80px;
    background: url(./img/gen1.jpg);
    background-size: cover;
	background-position-x: center;
  }
  .hero .container-fluid {
    position: relative;
    z-index: 2;
  }
  
  .hero::before,
  .hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
  }
  .hero::before {
    width: 320px; height: 320px;
    right: -80px; top: -80px;
    background: rgba(46, 131, 98, 0.226);
    z-index: 2;
  }
  .hero::after {
    width: 260px; height: 260px;
    left: -80px; bottom: -60px;
    background: linear-gradient(
      90deg,
      rgba(10, 71, 117, 0.75) 0%,
      rgba(32, 136, 145, 0.55) 40%,
      rgba(10, 71, 117, 0.15) 100%
    );
    z-index: 2;
  }
  
  .hero-text {
    padding: 42px;
    text-align: right;
  }
  .hero h1 {
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: .98;
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 6px 24px rgba(0,0,0,0.35);
  }
  .hero-card {
    background: rgba(255,255,255,.80);
    border: 1px solid rgba(23,48,36,.08);
    border-radius: 28px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }
  .hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    padding: 28px;
  }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .85rem;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
    color: #fff;
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: .9rem;
  }
  
  .hero-lead {
    color: rgba(255,255,255,0.9);
    text-shadow: 0 4px 18px rgba(0,0,0,0.25);
  }
  .hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
  }
  .nav-socials {
    margin-left: 10px;
  }
  
  .social-link {
    min-width: 36px;
    min-height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  
    background: rgba(32, 136, 145, 0.10);
    color: var(--primary);
  
    transition: all .25s ease;
    font-size: 1.1rem;
  }
  
  .social-link:hover {
    background: linear-gradient(135deg, #0a4775, #208891);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 71, 117, 0.25);
  }
  
  .mini-stat {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px 14px;
    text-align: center;
  }
  .mini-stat strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: .25rem;
  }
  .mini-stat span { color: var(--muted); font-size: .92rem; }

  /* Cards */
  .soft-card {
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(23,48,36,.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
  }
  .soft-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
  }
  .service-card {
    padding: 28px;
    position: relative;
  }
  .service-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: inline-grid;
    place-items: center;
    background: rgba(31,107,79,.10);
    color: var(--primary);
    font-size: 1.35rem;
    margin-bottom: 18px;
  }
  .service-card h3 { font-size: 1.25rem; font-weight: 800; }
  .service-card p { color: var(--muted); margin-bottom: 0; }

  .diagnostic-box {
    background: linear-gradient(135deg, rgba(31,107,79,.96), rgba(46,131,98,.92));
    color: #fff;
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 24px 50px rgba(31,107,79,.18);
  }
  .diagnostic-item {
    border-top: 1px solid rgba(255,255,255,.15);
    padding-top: 16px;
    margin-top: 16px;
  }
  .diagnostic-item h4 { font-size: 1.02rem; margin-bottom: .35rem; font-weight: 700; }
  .diagnostic-item p { color: rgba(255,255,255,.85); margin-bottom: 0; }

  .benefit {
    padding: 24px;
    border-radius: 22px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(23,48,36,.08);
    box-shadow: var(--shadow-soft);
    height: 100%;
  }
  .benefit .num {
    width: 42px; height: 42px;
    border-radius: 14px;
    background: rgb(31 91 107 / 10%);
    color: var(--primary);
    display: inline-grid;
    place-items: center;
    font-weight: 800;
    margin-bottom: 16px;
  }

  /* Accordion tweaks */
  .accordion-item {
    border: 0;
    border-radius: 20px !important;
    overflow: hidden;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(23,48,36,.08);
    box-shadow: var(--shadow-soft);
    margin-bottom: 14px;
  }
  .accordion-button {
    padding: 1.1rem 1.2rem;
    font-weight: 800;
    color: var(--text);
    background: transparent;
    box-shadow: none !important;
  }
  .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: rgba(31,107,79,.06);
  }
  .accordion-button::after { filter: saturate(.8); }
  .accordion-body { color: var(--muted); padding: 1rem 1.2rem 1.2rem; }

  /* Price table */
  .price-table {
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(23,48,36,.08);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
  }
  .table thead th {
    background: rgb(31 87 107 / 7%);
    color: var(--text);
    border-bottom: 0;
    font-weight: 800;
  }
  .table > :not(caption) > * > * {
    padding: 1rem 1rem;
    vertical-align: middle;
    border-color: rgba(23,48,36,.08);
  }
  .table tbody tr:hover { background: rgba(31, 86, 107, 0.035); }
  .price-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: .45rem .75rem;
    border-radius: 999px;
    background: rgb(31 91 107 / 10%);
    color: var(--primary);
    font-weight: 800;
    white-space: nowrap;
  }

  /* Contact block */
  .contact-panel {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    border-radius: 28px;
    padding: 34px;
    box-shadow: var(--shadow);
  }
  .contact-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .contact-item:first-of-type { border-top: 0; }
  .contact-ico {
    width: 44px; height: 44px;
    border-radius: 14px;
    display: inline-grid;
    place-items: center;
    background: rgba(255,255,255,.12);
    flex: 0 0 44px;
  }
  .contact-item a { color: #fff; font-weight: 700; }
  .contact-item small { color: rgba(255,255,255,.75); }

  .quform-placeholder {
    background: rgba(255,255,255,.78);
    border: 1px dashed rgba(23,48,36,.20);
    border-radius: 22px;
    min-height: 260px;
    display: grid;
    padding: 28px;
    color: var(--muted);
  }

  .form-control {
    border-radius: 15px;
  }

  /* Footer */
  footer {
    padding: 28px 0;
    color: var(--muted);
    border-top: 1px solid rgba(23,48,36,.08);
    background: rgba(255,255,255,.5);
  }

  .footer-grant {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
  }
  
  .footer-grant-logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
  }
  
  .footer-grant-text {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
  }

.progress-wrap::after {
    content: '\f077';
}

.progress-wrap {
	position: fixed;
	right: 30px;
	bottom: 30px;
	height: 46px;
	width: 46px;
	cursor: pointer;
	display: block;
	border-radius: 50px;
	box-shadow: inset  0 0 0 2px rgba(0,0,0,0.1);
	z-index: 10000;
	opacity: 0;
	visibility: hidden;
	transform: translateY(15px);
	-webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.progress-wrap.active-progress {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.progress-wrap::after {
	position: absolute;
	font-family: 'fag';
	content: '\f106';
  font-weight: 300;
	text-align: center;
	line-height: 46px;
	font-size: 24px;
	color: var(--primary-2); /* --- Pijl kleur --- */
	left: 0;
	top: 0;
	height: 46px;
	width: 46px;
	cursor: pointer;
	display: block;
	z-index: 1;
	-webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.progress-wrap::before {
	position: absolute;
	font-family: 'fag';
	content: '\f106';
  font-weight: 300;
	text-align: center;
	line-height: 46px;
	font-size: 24px;
	opacity: 0;
	background: black; /* --- Pijl hover kleur --- */
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	left: 0;
	top: 0;
	height: 46px;
	width: 46px;
	cursor: pointer;
	display: block;
	z-index: 2;
	-webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}
.progress-wrap svg path { 
	fill: none; 
}
.progress-wrap svg.progress-circle path {
	stroke: var(--primary-2); /* --- Lijn progres kleur --- */
	stroke-width: 4;
	box-sizing:border-box;
	-webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}


  section, header { scroll-margin-top: calc(var(--nav-h) + 16px); }

@media (max-width: 991.98px) {
	.hero { padding-top: 100px; }
	.hero-text { padding: 30px; }
	.hero-media { min-height: 360px; }
	.hero-points { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
	.section-gap { padding: 72px 0; }
	.hero { min-height: auto; }
	.hero h1 { font-size: clamp(2.2rem, 11vw, 3.5rem); }
	.hero-text { padding: 24px; }
	.service-card { padding: 22px; }
	.diagnostic-box, .contact-panel { padding: 24px; }
	.navbar {padding:0px}
	.nav-socials {display: none!important;}
	.navbar-top {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-wrap: nowrap; /* важно */
		width: 100%;
	}
	.quform-responsive-elements-phone-landscape .quform-input, .quform-responsive-elements-phone-landscape .quform-upload-dropzone {
		max-width: 85% !important;
	}
	.quform-responsive-elements-phone-landscape .quform-element-submit button {
		max-width: 85% !important;
	}
}

  .reveal {
    animation: revealUp .8s ease both;
  }
  @keyframes revealUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }

.section-404 {
  padding: 140px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(63, 150, 159, 0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(32, 136, 145, 0.10), transparent 24%),
    linear-gradient(180deg, #f7fbfd 0%, var(--bg) 100%);
}

.error-404-box {
  position: relative;
  padding: 56px 38px;
  overflow: hidden;
}

.error-code {
  font-size: clamp(4.5rem, 10vw, 8rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.06em;
  margin-bottom: 12px;
  color: var(--primary);
  text-shadow: 0 10px 30px rgba(10, 71, 117, 0.10);
}

.error-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  color: var(--text);
}

.error-text {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.error-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.error-links a {
  color: var(--primary);
  font-weight: 600;
  transition: all .2s ease;
}

.error-links a:hover {
  color: var(--accent);
}

@media (max-width: 767.98px) {
  .section-404 {
    padding: 120px 0 80px;
  }

  .error-404-box {
    padding: 38px 22px;
    border-radius: 24px;
  }

  .error-text {
    font-size: 1rem;
  }
}