.tag {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  border: 1px solid color-mix(in srgb, #a6a0ba 78%, #2a2540);
  background: #a6a0ba;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #fff;
}

a {
    color: #ffd400;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}



.btn a, #mainNav a{
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-muted);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  border: 1px solid transparent;
  background: #ffffff;
  color: #fff;
  text-decoration: none !important; 
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 20px 62px rgb(255 214 0 / 82%), 0 10px 22px rgb(6 10 16 / 5%);
  transition: transform 0.42s cubic-bezier(.22,1,.36,1), box-shadow 0.42s cubic-bezier(.22,1,.36,1), color 0.34s ease;
}

.btn.primary::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(105deg, #ffe100 0%, #ffd000 45%, #ffef6a 100%);
  transform: scaleX(1);
  transform-origin: left center;
  transition: transform 0.72s cubic-bezier(.19,1,.22,1);
  z-index: -1;
}

.btn.primary:hover {
  border-color: #0f1218;
  color: #11151d;
  text-shadow: none;
  box-shadow: 0 10px 24px rgba(17, 23, 35, 0.2);
}

.btn.primary:hover::before {
  transform: scaleX(0);
}

.btn.primary:active {
  transform: translateY(0);
  box-shadow: 0 9px 18px rgba(255, 214, 0, 0.34), 0 4px 9px rgba(6, 10, 16, 0.18);
  transition-duration: 0.12s;
}

.btn.secondary {
  padding: 0.56rem 1.05rem;
  font-size: 0.9rem;
  border-color: rgba(17, 23, 35, 0.28);
  background: rgba(17, 23, 35, 0.08);
  color: #1b2230;
  text-decoration: none !important;
}

.btn.secondary:hover {
  background: #cdcbcc;
  border-color: color-mix(in srgb, #cdcbcc 78%, #1b2230);
  color: #1b2230;
}

.contact-box {
  text-align: center;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f4f6fb);
  border-radius: calc(var(--radius) + 8px);
  padding: 3rem 1.2rem;
  box-shadow: var(--shadow);
}

.contact-box h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.3rem);
}

.contact-box p {
  color: var(--text-muted);
  margin: 0rem auto 1.6rem;
  max-width: 56ch;
}

.project-inquiry {
  margin: 1.25rem auto 0;
  max-width: 720px;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.inquiry-select-label,
.inquiry-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #3a4456;
}

.inquiry-select-label {
  font-size: 0.95rem;
  letter-spacing: 0.025em;
  font-weight: 800;
  font-family: "Geist", "Inter", system-ui, sans-serif;
}

.inquiry-field label {
  transform-origin: left center;
  transition: transform 0.24s cubic-bezier(.22,1,.36,1), color 0.24s ease;
}

.inquiry-type-row {
  display: grid;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 900px) {
  .inquiry-type-row {
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 0.45rem;
  }
  .inquiry-type-row .inquiry-select-label {
    margin-bottom: 0;
  }
  .inquiry-type-row .inquiry-select-wrap {
    justify-self: center;
    overflow: visible;
    min-width:180px;
    /* width: min(290px, 100%); */
  }
}

.inquiry-select-wrap {
  position: relative;
}

/* Същата визия като .btn.primary: жълт градиент, бял текст; hover като primary */
.inquiry-select-trigger {
  width: 100%;
  border: 1px solid transparent;
  background: #ffffff;
  color: #fff;
  border-radius: 999px;
  min-height: 48px;
  padding: 0.72rem 1.2rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  box-shadow: 0 20px 62px rgb(255 214 0 / 82%), 0 10px 22px rgb(6 10 16 / 5%);
  transition: transform 0.42s cubic-bezier(.22, 1, .36, 1), box-shadow 0.42s cubic-bezier(.22, 1, .36, 1), color 0.34s ease, border-color 0.42s ease;
}

.inquiry-select-trigger::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(105deg, #ffe100 0%, #ffd000 45%, #ffef6a 100%);
  transform: scaleX(1);
  transform-origin: left center;
  transition: transform 0.72s cubic-bezier(.19, 1, .22, 1);
  z-index: -1;
}

.inquiry-select-trigger .chevron {
  display: inline-block;
  transition: transform 0.24s cubic-bezier(.22, 1, .36, 1);
}

.inquiry-select-trigger.is-open .chevron {
  transform: rotate(180deg);
}

.inquiry-select-trigger:hover {
  transform: translateY(-2px);
  border-color: #0f1218;
  color: #11151d;
  text-shadow: none;
  box-shadow: 0 10px 24px rgba(17, 23, 35, 0.2);
}

.inquiry-select-trigger:hover::before {
  transform: scaleX(0);
}

.inquiry-select-trigger.has-value {
  /* color: #11151d; */
  text-shadow: none;
  border-color: transparent;
  box-shadow: 0 20px 62px rgb(255 214 0 / 82%), 0 10px 22px rgb(6 10 16 / 5%);
}

.inquiry-select-trigger.has-value::before {
  transform: scaleX(1);
}

.inquiry-select-trigger.has-value:hover {
  border-color: #0f1218;
  box-shadow: 0 10px 24px rgba(17, 23, 35, 0.2);
}

.inquiry-select-trigger.has-value:hover::before {
  transform: scaleX(0);
}

.inquiry-select-trigger:focus-visible {
  outline: none;
  border-color: #0f1218;
  color: #11151d;
  text-shadow: none;
  box-shadow: 0 10px 24px rgba(17, 23, 35, 0.2), 0 0 0 3px rgba(255, 212, 0, 0.35);
}

.inquiry-select-trigger:focus-visible::before {
  transform: scaleX(0);
}

.inquiry-select-trigger.is-open {
  border-color: #ffd400;
  background: #ffd400;
  color: #1b2230;
  text-shadow: none;
  box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.25), 0 10px 20px rgba(255, 212, 0, 0.28);
}

.inquiry-select-trigger.is-open::before {
  transform: scaleX(0);
}

.inquiry-select-trigger.is-open:hover {
  border-color: #0f1218;
  box-shadow: 0 10px 24px rgba(17, 23, 35, 0.2), 0 0 0 2px rgba(255, 212, 0, 0.2);
}

.inquiry-select-trigger.is-open:hover::before {
  transform: scaleX(0);
}

.inquiry-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.4rem);
  /* border: 2px solid #d3dae8; */
  /* background: #fff; */
  border-radius: 12px;
  /* box-shadow: 0 16px 30px rgba(16, 23, 34, 0.14); */
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 8;
  opacity: 0;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top center;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.26s cubic-bezier(.22,1,.36,1);
}

.inquiry-select-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.inquiry-option {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}

.inquiry-option:focus-visible {
  outline: 2px solid #ffd400;
  outline-offset: 2px;
}

.inquiry-details {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.75rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  transition: max-height 0.45s cubic-bezier(.22,1,.36,1), opacity 0.28s ease, transform 0.32s ease;
  pointer-events: none;
}

.inquiry-details.open {
  max-height: 720px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  overflow: visible!important;
}

.inquiry-field input,
.inquiry-field textarea {
  width: 100%;
  border: 2px solid #cfd7e6;
  background: #fff;
  color: #1b2230;
  border-radius: 14px;
  min-height: 48px;
  padding: 0.72rem 1.2rem;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.inquiry-field textarea {
  min-height: 108px;
  resize: vertical;
  font-family: inherit;
}

.inquiry-field input:focus,
.inquiry-field textarea:focus {
  border-color: #ffd400;
  box-shadow: 0 0 0 3px rgba(255, 212, 0, 0.3);
  transform: translateY(-1px);
}

.inquiry-field.is-active label {
  transform: translateY(-2px) scale(0.96);
  color: #111723;
}

.inquiry-field.is-active input,
.inquiry-field.is-active textarea {
  border-color: #ffd400;
}

.inquiry-actions {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.project-inquiry > .inquiry-status {
  margin-top: 0.85rem;
}

.inquiry-status {
  min-height: 1.1em;
  color: var(--text-muted);
  font-size: 0.82rem;
  border-radius: 12px;
  padding: 0;
  text-align: center;
  max-width: 52ch;
  margin-inline: auto;
  line-height: 1.45;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, padding 0.22s ease;
  border: 1px solid transparent;
}

.inquiry-status.is-info,
.inquiry-status.is-success,
.inquiry-status.is-error {
  padding: 0.5rem 0.7rem;
}

.inquiry-status.is-info {
  background: #f7f9ff;
  color: #24324a;
  border-color: #d5deef;
}

.inquiry-status.is-success {
  background: #edf8f0;
  color: #145c32;
  border-color: #a8d9b8;
  box-shadow: 0 1px 0 rgba(20, 92, 50, 0.06);
}

.inquiry-status.is-error {
  background: #fff2f2;
  color: #8a1d1d;
  border-color: #f0c2c2;
  box-shadow: 0 1px 0 rgba(138, 29, 29, 0.06);
}

.inquiry-status a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.inquiry-status.is-info a {
  color: #1a3358;
}

.inquiry-status.is-success a {
  color: #0f4d28;
}

.inquiry-status.is-error a {
  color: #6b1212;
}

.contact-phone-block {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Номерът не е линк — без жълто/подчертаване от глобалните правила за <a> */
.contact-phone-display {
  font-weight: 600;
  color: inherit;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}

/* Share: copy link + dropdown (portfolio modal, blog post, pricing) — като модала на лендинга */
.modal-share {
  margin-top: 1.25rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

.modal-share-label {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: normal;
  text-transform: none;
  font-weight: 600;
  line-height: 1.45;
  max-width: 26rem;
  margin: 0 auto;
}

.modal-share-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  align-items: center;
  width: 100%;
}

.share-menu-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 45;
}

.share-menu {
  position: absolute;
  bottom: calc(100% + 0.35rem);
  left: 0;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  padding: 0.45rem;
  border-radius: 12px;
  border: 1px solid #d3dae8;
  background: #ffffff;
  box-shadow: 0 14px 26px rgba(16, 23, 34, 0.12);
  z-index: 50;
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  transform-origin: bottom left;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-post-share .share-menu {
  bottom: auto;
  top: calc(100% + 0.35rem);
  transform: translateY(-8px) scale(0.97);
  transform-origin: top left;
}

#shareMenu.share-menu--floating,
#blogShareMenu.share-menu--floating {
  position: fixed;
  left: 0;
  top: 0;
  bottom: auto;
  z-index: 2305;
  transform-origin: top left;
}

.share-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.share-menu .share-menu-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  margin: 0;
  padding: 0.38rem 0.4rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  color: #6b7287;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.share-menu .share-menu-item:link,
.share-menu .share-menu-item:visited {
  color: #6b7287;
}

.share-menu .share-menu-item:hover {
  color: #0f1218;
  background: rgba(15, 18, 24, 0.06);
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.share-menu .share-menu-item:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 85%, #1b2230);
  outline-offset: 1px;
}

.share-menu-icon {
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  opacity: 0.88;
  transition: opacity 0.18s ease;
}

.share-menu-item:hover .share-menu-icon {
  opacity: 1;
}

/* Platform brand colors for share menu icons */
#shareFacebook .share-menu-icon,
#pricingShareFacebook .share-menu-icon,
#blogShareFacebook .share-menu-icon { color: #1877f2; opacity: 1; }

#shareLinkedIn .share-menu-icon,
#pricingShareLinkedIn .share-menu-icon,
#blogShareLinkedIn .share-menu-icon { color: #0a66c2; opacity: 1; }

#shareEmail .share-menu-icon,
#pricingShareEmail .share-menu-icon,
#blogShareEmail .share-menu-icon { color: #ea4335; opacity: 1; }

#shareViber .share-menu-icon,
#pricingShareViber .share-menu-icon,
#blogShareViber .share-menu-icon { color: #7360f2; opacity: 1; }

#shareTelegram .share-menu-icon,
#pricingShareTelegram .share-menu-icon,
#blogShareTelegram .share-menu-icon { color: #229ed9; opacity: 1; }

#shareWhatsApp .share-menu-icon,
#pricingShareWhatsApp .share-menu-icon,
#blogShareWhatsApp .share-menu-icon { color: #25d366; opacity: 1; }

#shareMessages .share-menu-icon,
#pricingShareMessages .share-menu-icon,
#blogShareMessages .share-menu-icon { color: #34c759; opacity: 1; }

#shareNotes .share-menu-icon,
#pricingShareNotes .share-menu-icon,
#blogShareNotes .share-menu-icon { color: #f4b400; opacity: 1; }

#shareReminders .share-menu-icon,
#pricingShareReminders .share-menu-icon,
#blogShareReminders .share-menu-icon { color: #ff3b30; opacity: 1; }

.share-menu .share-menu-item:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.share-menu-icon--stroke {
  fill: none;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  box-sizing: border-box;
  margin: 0;
  min-height: 2.6875rem;
  padding: 0.56rem 1.05rem;
  border: 1px solid #d3dae8;
  background: #fff;
  color: #1b2230;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  vertical-align: middle;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.share-btn:link,
.share-btn:visited,
.share-btn:active {
  color: #1b2230;
}

.share-btn:hover {
  transform: translateY(-1px);
  border-color: #0f1218;
  color: #0f1218;
  cursor: pointer;
  background: rgba(16, 23, 34, 0.1);
  box-shadow: 0 6px 14px rgba(16, 23, 34, 0.1);
}

.share-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.share-btn.is-hidden {
  display: none;
}

.share-status {
  min-height: 1.1em;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

footer {
  text-align: center;
  padding: 2.2rem 0 3rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Global text-link treatment (excluding nav/buttons/actions and whole-card blog links) */
:where(main, section, article, aside, footer) a:not(.btn):not(.share-btn):not(.share-menu-item):not(.inquiry-option):not(.inquiry-select-trigger):not(.blog-main-card):not(.blog-mini-card):not(.blog-thumb) {
  font-weight: 700;
  color: #ffd400;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

:where(main, section, article, aside, footer) a:not(.btn):not(.share-btn):not(.share-menu-item):not(.inquiry-option):not(.inquiry-select-trigger):not(.blog-main-card):not(.blog-mini-card):not(.blog-thumb):hover {
  color: color-mix(in srgb, #ffd400 88%, #1b2230);
}

/* Цяла картичка като линк: без жълто и без подчертаване на текста */
.blog-main-card,
.blog-mini-card,
.blog-thumb {
  color: inherit;
  text-decoration: none;
}

.blog-main-card:hover,
.blog-main-card:focus,
.blog-main-card:active,
.blog-mini-card:hover,
.blog-mini-card:focus,
.blog-mini-card:active,
.blog-thumb:hover,
.blog-thumb:focus,
.blog-thumb:active {
  color: inherit;
  text-decoration: none;
}

/* Full-page preloader (shared SVG animation with video hover loader) */
body.preloader-active {
  overflow: hidden;
}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fbfbf8;
  opacity: 0;
  visibility: visible;
  transition: opacity 1s ease;
}

.site-preloader.is-shown {
  opacity: 1;
}

.site-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

.site-preloader .preloader-svg {
  width: clamp(3.5rem, 22vw, 6.75rem);
  height: auto;
  opacity: 0;
  transition: opacity 1s ease;
}

.site-preloader.is-shown .preloader-svg {
  opacity: 1;
}

.site-preloader.is-hidden .preloader-svg {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.site-preloader .preloader-svg .svg-elem-1 {
  fill: transparent;
  transition: fill 1s ease 0s;
}

.site-preloader .preloader-svg.active .svg-elem-1 {
  fill: rgb(205, 203, 204);
}

.site-preloader .preloader-svg .svg-elem-2 {
  fill: transparent;
  transition: fill 1s ease 0s;
}

.site-preloader .preloader-svg.active .svg-elem-2 {
  fill: rgb(249, 195, 33);
}

.site-preloader .preloader-svg .svg-elem-3 {
  fill: transparent;
  transition: fill 1s ease 0s;
}

.site-preloader .preloader-svg.active .svg-elem-3 {
  fill: rgb(252, 220, 24);
}

.site-preloader .preloader-svg .svg-elem-4 {
  fill: transparent;
  transition: fill 1s ease 0s;
}

.site-preloader .preloader-svg.active .svg-elem-4 {
  fill: rgb(249, 195, 33);
}

.hero-pricing-link {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  color: inherit;
}

.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1000;
  width: 3rem;
  height: 3rem;
  border: 2px solid #fff;
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.88);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231b2230'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 15l7-7 7 7'%3E%3C/path%3E%3C/svg%3E");
  background-size: 42%;
  background-position: center;
  background-repeat: no-repeat;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 0 0 1px rgba(18, 23, 34, 0.12),
    0 8px 22px rgba(16, 23, 34, 0.08);
  color: transparent;
  font-size: 0;
  line-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.5rem);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top.is-visible:hover {
  background-color: var(--accent);
  border-color: #fff;
  transform: translateY(0) scale(1.08);
  box-shadow:
    0 0 0 2px #fff,
    0 10px 28px rgba(247, 218, 28, 0.38);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--accent, #f9c321);
  outline-offset: 2px;
}
