/*
Theme Name: BUILDConnect v1.4 Home
Theme URI: https://buildconnect.bg/
Author: BUILDConnect
Description: Начална страница на BUILDConnect, базирана на дизайна и съдържанието на версия 1.4.
Version: 1.4.1
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: buildconnect
*/

:root {
	--bc-ink: #102a45;
	--bc-muted: #5e7185;
	--bc-green: #1769d2;
	--bc-green-dark: #104da3;
	--bc-lime: #d9e9ff;
	--bc-sand: #f5f8fc;
	--bc-paper: #ffffff;
	--bc-line: #dbe4ef;
	--bc-radius: 1.25rem;
	--bc-shadow: 0 1.5rem 4rem rgba(16, 42, 69, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bc-paper);
	color: var(--bc-ink);
	font-family: Inter, "Segoe UI", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.bc-container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.bc-skip-link { position: absolute; z-index: 1000; top: 8px; left: 8px; padding: 10px 14px; transform: translateY(-150%); background: #fff; color: var(--bc-ink); border: 2px solid var(--bc-green); border-radius: 8px; }
.bc-skip-link:focus { transform: translateY(0); }
.bc-header { position: sticky; z-index: 50; top: 0; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(220,228,220,.8); backdrop-filter: blur(14px); }
.bc-header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bc-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 1.12rem; font-weight: 800; letter-spacing: -.04em; }
.bc-brand-accent { color: var(--bc-green); }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { width: auto; max-height: 46px; }
.bc-mark { display: grid; width: 38px; height: 38px; place-items: center; color: var(--bc-ink); background: var(--bc-lime); border-radius: 12px; }
.bc-mark svg { width: 23px; height: 23px; }
.bc-nav { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.bc-nav li { margin: 0; padding: 0; list-style: none; }
.bc-nav a { color: var(--bc-muted); text-decoration: none; font-size: .93rem; font-weight: 650; transition: color .2s ease; }
.bc-nav a:hover, .bc-nav a:focus-visible { color: var(--bc-green); }
.bc-nav-toggle { display: none; min-width: 44px; min-height: 44px; border: 1px solid var(--bc-line); border-radius: 12px; background: #fff; color: var(--bc-ink); font: inherit; font-weight: 700; }
.bc-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px; padding: 0 21px; border: 1px solid transparent; border-radius: 999px; background: var(--bc-green); color: white !important; text-decoration: none; font-weight: 750; box-shadow: 0 8px 22px rgba(23,105,210,.16); transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.bc-button:hover { transform: translateY(-2px); background: var(--bc-green-dark); box-shadow: 0 12px 28px rgba(23,105,210,.22); }
.bc-button:focus-visible, .bc-nav-toggle:focus-visible, a:focus-visible { outline: 3px solid #e49b43; outline-offset: 3px; }
.bc-button--light { background: #fff; color: var(--bc-green) !important; border-color: var(--bc-line); box-shadow: none; }
.bc-button--light:hover { background: var(--bc-sand); }
.bc-header-cta { min-height: 44px; padding-inline: 18px; font-size: .9rem; }
.bc-hero { position: relative; overflow: hidden; padding: 86px 0 78px; background: var(--bc-sand); }
.bc-hero::before { position: absolute; top: -180px; right: -90px; width: 600px; height: 600px; border: 1px solid rgba(23,107,83,.12); border-radius: 50%; content: ""; }
.bc-hero::after { position: absolute; top: -100px; right: -10px; width: 440px; height: 440px; border: 1px solid rgba(23,107,83,.10); border-radius: 50%; content: ""; }
.bc-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 60px; }
.bc-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 19px; color: var(--bc-green); font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.bc-eyebrow::before { width: 23px; height: 2px; background: currentColor; content: ""; }
.bc-hero h1 { max-width: 690px; margin: 0; font-size: clamp(2.7rem, 5.4vw, 5rem); line-height: 1.03; letter-spacing: -.065em; }
.bc-hero h1 span { color: var(--bc-green); }
.bc-lead { max-width: 590px; margin: 24px 0 30px; color: var(--bc-muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.bc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bc-hero-note { display: flex; align-items: center; gap: 9px; margin-top: 23px; color: var(--bc-muted); font-size: .88rem; }
.bc-check { display: inline-grid; width: 21px; height: 21px; flex: 0 0 21px; place-items: center; border-radius: 50%; background: #dcefb0; color: var(--bc-green-dark); font-size: .78rem; font-weight: 900; }
.bc-visual { position: relative; min-height: 410px; display: grid; place-items: center; }
.bc-visual-card { position: relative; width: min(100%, 450px); padding: 25px; border: 1px solid rgba(255,255,255,.9); border-radius: 25px; background: rgba(255,255,255,.9); box-shadow: var(--bc-shadow); transform: rotate(1.2deg); }
.bc-visual-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--bc-line); }
.bc-visual-title { margin: 0; font-size: 1rem; font-weight: 800; }
.bc-status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 999px; background: #edf6db; color: var(--bc-green-dark); font-size: .72rem; font-weight: 750; }
.bc-status::before { width: 7px; height: 7px; border-radius: 50%; background: #5c9e44; content: ""; }
.bc-project { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 13px; padding: 17px 0; border-bottom: 1px solid #edf0eb; }
.bc-project:last-child { border: 0; padding-bottom: 1px; }
.bc-project-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 13px; background: #e8f1ff; color: var(--bc-green); }
.bc-project-icon svg { width: 22px; height: 22px; }
.bc-project strong, .bc-project small { display: block; }
.bc-project strong { font-size: .9rem; }
.bc-project small { margin-top: 3px; color: var(--bc-muted); font-size: .75rem; }
.bc-project-count { color: var(--bc-green); font-size: .76rem; font-weight: 800; white-space: nowrap; }
.bc-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 13px 16px; border: 1px solid var(--bc-line); border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(20,51,39,.11); font-size: .82rem; font-weight: 750; }
.bc-float svg { width: 20px; height: 20px; color: var(--bc-green); }
.bc-float--top { top: 18px; right: -12px; }
.bc-float--bottom { bottom: 25px; left: -16px; }
.bc-section { padding: 92px 0; }
.bc-section--soft { background: var(--bc-sand); }
.bc-section-head { max-width: 700px; margin: 0 auto 44px; text-align: center; }
.bc-section-head .bc-eyebrow { justify-content: center; }
.bc-section h2 { margin: 0; font-size: clamp(2rem, 3.5vw, 3.25rem); line-height: 1.1; letter-spacing: -.055em; }
.bc-section-head p { max-width: 610px; margin: 16px auto 0; color: var(--bc-muted); font-size: 1.05rem; }
.bc-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bc-feature { min-height: 230px; padding: 27px; border: 1px solid var(--bc-line); border-radius: var(--bc-radius); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.bc-feature:hover { transform: translateY(-4px); box-shadow: 0 16px 35px rgba(20,51,39,.08); }
.bc-feature-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 24px; border-radius: 15px; background: #e8f1ff; color: var(--bc-green); }
.bc-feature-icon svg { width: 24px; height: 24px; }
.bc-feature h3 { margin: 0 0 9px; font-size: 1.13rem; letter-spacing: -.025em; }
.bc-feature p { margin: 0; color: var(--bc-muted); font-size: .94rem; }
.bc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: steps; }
.bc-step { position: relative; padding: 0 20px 0 0; counter-increment: steps; }
.bc-step-number { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 19px; border: 1px solid #c8d8ca; border-radius: 50%; color: var(--bc-green); font-weight: 850; }
.bc-step-number::before { content: "0" counter(steps); }
.bc-step h3 { margin: 0 0 8px; font-size: 1.15rem; }
.bc-step p { margin: 0; color: var(--bc-muted); }
.bc-cta { padding: 68px; border-radius: 28px; background: var(--bc-green-dark); color: #fff; }
.bc-cta-grid { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.bc-cta h2 { max-width: 650px; font-size: clamp(2rem, 4vw, 3.5rem); }
.bc-cta p { max-width: 620px; margin: 14px 0 0; color: rgba(255,255,255,.76); }
.bc-cta .bc-eyebrow { color: var(--bc-lime); }
.bc-cta .bc-button { flex: 0 0 auto; background: var(--bc-lime); color: var(--bc-ink) !important; box-shadow: none; }
.bc-cta .bc-button:hover { background: #d6f58c; }
.bc-footer { padding: 34px 0; border-top: 1px solid var(--bc-line); }
.bc-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.bc-footer p { margin: 0; color: var(--bc-muted); font-size: .85rem; }
.bc-footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.bc-footer-links a { color: var(--bc-muted); text-decoration: none; font-size: .85rem; }
.bc-footer-links a:hover { color: var(--bc-green); }
.bc-page { min-height: 50vh; padding: 70px 0; }
.bc-page h1 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.1; letter-spacing: -.05em; }
.bc-entry-content { max-width: 760px; }
.bc-entry-content a { color: var(--bc-green); }

@media (max-width: 900px) {
	.bc-hero-grid { grid-template-columns: 1fr; gap: 22px; }
	.bc-hero-copy { max-width: 740px; }
	.bc-visual { min-height: 360px; }
	.bc-feature-grid { grid-template-columns: 1fr 1fr; }
	.bc-cta { padding: 48px; }
}
@media (max-width: 680px) {
	.bc-container { width: min(100% - 30px, 560px); }
	.bc-header-inner { min-height: 68px; }
	.bc-nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
	.bc-nav-wrap { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; padding: 12px 15px 18px; border-bottom: 1px solid var(--bc-line); background: #fff; box-shadow: 0 14px 22px rgba(20,51,39,.08); }
	.bc-nav-wrap.is-open { display: block; }
	.bc-nav { align-items: stretch; flex-direction: column; gap: 0; }
	.bc-nav a { display: block; padding: 12px 8px; }
	.bc-header-cta { display: none; }
	.bc-hero { padding: 62px 0 55px; }
	.bc-hero h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
	.bc-visual { min-height: 325px; margin: 10px 4px 0; }
	.bc-visual-card { padding: 19px; }
	.bc-float--top { right: -2px; }
	.bc-float--bottom { left: -2px; }
	.bc-section { padding: 68px 0; }
	.bc-feature-grid, .bc-steps { grid-template-columns: 1fr; }
	.bc-feature { min-height: 0; }
	.bc-cta { padding: 34px 25px; }
	.bc-cta-grid { align-items: flex-start; flex-direction: column; }
	.bc-footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
